summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-20 05:16:09 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-21 20:21:20 +0300
commitd6c996ae31d1875950783ecf25f055975281150d (patch)
treed614b936df1bab97483ed801297be6f696662ded /src/map
parent7cbd35644b73f254fc976070cd1e993aa43a7cfc (diff)
downloadhercules-d6c996ae31d1875950783ecf25f055975281150d.tar.gz
hercules-d6c996ae31d1875950783ecf25f055975281150d.tar.bz2
hercules-d6c996ae31d1875950783ecf25f055975281150d.tar.xz
hercules-d6c996ae31d1875950783ecf25f055975281150d.zip
Change char server packets for 20170830 and newer clients.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 5454bed2d..171e0c71e 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -3035,12 +3035,12 @@ void clif_updatestatus(struct map_session_data *sd,int type)
break;
case SP_BASEEXP:
WFIFOW(fd,0)=0xb1;
- WFIFOL(fd,4)=sd->status.base_exp;
+ WFIFOL(fd,4)=(uint32)(sd->status.base_exp);
len = packet_len(0xb1);
break;
case SP_JOBEXP:
WFIFOW(fd,0)=0xb1;
- WFIFOL(fd,4)=sd->status.job_exp;
+ WFIFOL(fd,4)=(uint32)(sd->status.job_exp);
len = packet_len(0xb1);
break;
case SP_NEXTBASEEXP: