diff --git a/conf/msg_conf/map_msg.conf b/conf/msg_conf/map_msg.conf index 15f90d5b4f..516d789f92 100644 --- a/conf/msg_conf/map_msg.conf +++ b/conf/msg_conf/map_msg.conf @@ -743,7 +743,7 @@ 716: Your '%s' is now: %d // MVP EXP reward message -717: Congratulations! You are the MVP! Your reward EXP Points are %d !! +717: Congratulations! You are the MVP! Your reward EXP Points are %u !! // @showrate 718: Personal rate information is not displayed now. diff --git a/src/map/clif.c b/src/map/clif.c index 31157fd80a..230128c882 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7915,18 +7915,18 @@ void clif_mvp_exp(struct map_session_data *sd, unsigned int exp) { if (battle_config.mvp_exp_reward_message) { char e_msg[CHAT_SIZE_MAX]; sprintf(e_msg, msg_txt(sd, 717), exp); - clif_colormes(sd->fd, color_table[COLOR_CYAN], e_msg); // Congratulations! You are the MVP! Your reward EXP Points are %d !! + clif_colormes(sd->fd, color_table[COLOR_CYAN], e_msg); // Congratulations! You are the MVP! Your reward EXP Points are %u !! } #else int fd; nullpo_retv(sd); - fd=sd->fd; - WFIFOHEAD(fd,packet_len(0x10b)); - WFIFOW(fd,0)=0x10b; - WFIFOL(fd,2)=min(exp,(unsigned int)INT32_MAX); - WFIFOSET(fd,packet_len(0x10b)); + fd = sd->fd; + WFIFOHEAD(fd, packet_len(0x10b)); + WFIFOW(fd,0) = 0x10b; + WFIFOL(fd,2) = min(exp, (unsigned int)INT32_MAX); + WFIFOSET(fd, packet_len(0x10b)); #endif }