summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDastgir <dastgirp@gmail.com>2020-03-07 22:23:24 +0530
committerHaru <haru@dotalux.com>2020-07-26 20:59:00 +0200
commit831ace2651186f538ab0b818830f4adc921c35b9 (patch)
tree1ddf1c7f278c0301cc3e7ca4217488f600fd2a18 /src
parent9106bbab19b4feaa4623a3b8e5d59e08ef73b640 (diff)
downloadhercules-831ace2651186f538ab0b818830f4adc921c35b9.tar.gz
hercules-831ace2651186f538ab0b818830f4adc921c35b9.tar.bz2
hercules-831ace2651186f538ab0b818830f4adc921c35b9.tar.xz
hercules-831ace2651186f538ab0b818830f4adc921c35b9.zip
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 c96e957c7..fc1552e62 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7120,8 +7120,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);
}