summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-07-26 23:03:50 +0200
committerGitHub <noreply@github.com>2020-07-26 23:03:50 +0200
commitb91bd29b37c63c9818d5b28d1a3c4b9d7614d792 (patch)
tree70ce1bde67972e5b61cdad3419dca54e27fb32b7 /src
parentccf375c08e6b5b349b2a4feded5eb40bcf195d65 (diff)
parent831ace2651186f538ab0b818830f4adc921c35b9 (diff)
downloadhercules-b91bd29b37c63c9818d5b28d1a3c4b9d7614d792.tar.gz
hercules-b91bd29b37c63c9818d5b28d1a3c4b9d7614d792.tar.bz2
hercules-b91bd29b37c63c9818d5b28d1a3c4b9d7614d792.tar.xz
hercules-b91bd29b37c63c9818d5b28d1a3c4b9d7614d792.zip
Merge pull request #2647 from dastgirp/message/fix
Fixed Experience Gain message
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 64e52848f..04c3cd1cb 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7250,8 +7250,8 @@ static bool pc_gainexp(struct map_session_data *sd, struct block_list *src, uint
if(sd->state.showexp) {
char output[256];
sprintf(output,
- msg_sd(sd, 889), // Experience Gained Base:%"PRIu64" (%.2f%%) Job:%"PRIu64" (%.2f%%)
- base_exp, nextbp * (float)100, job_exp, nextjp * (float)100);
+ msg_sd(sd, 889), // Experience Gained Base:%llu (%.2f%%) Job:%llu (%.2f%%)
+ (unsigned long long)base_exp, nextbp * 100.0f, (unsigned long long)job_exp, nextjp * 100.0f);
clif_disp_onlyself(sd, output);
}