diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-19 08:32:43 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-19 08:32:43 +0000 |
commit | 5bbc30ecbe54dab98bec15e2260544651e210c9d (patch) | |
tree | 294366b1a77e075bbf60ddb002ed50ec543bce09 /src/map | |
parent | 89998918cc073c700830eb68b75fea72ace1234e (diff) | |
download | hercules-5bbc30ecbe54dab98bec15e2260544651e210c9d.tar.gz hercules-5bbc30ecbe54dab98bec15e2260544651e210c9d.tar.bz2 hercules-5bbc30ecbe54dab98bec15e2260544651e210c9d.tar.xz hercules-5bbc30ecbe54dab98bec15e2260544651e210c9d.zip |
Idiot RO client have inconsistent signed/unsigned shorts
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7243 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index ed187a44d..1ff36c7ec 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2863,7 +2863,7 @@ int clif_initialstatus(struct map_session_data *sd) buf=WFIFOP(fd,0);
WBUFW(buf,0)=0xbd;
- WBUFW(buf,2)=(sd->status.status_point > USHRT_MAX)? USHRT_MAX:sd->status.status_point;
+ WBUFW(buf,2)=(sd->status.status_point > SHRT_MAX)? SHRT_MAX:sd->status.status_point;
WBUFB(buf,4)=(sd->status.str > UCHAR_MAX)? UCHAR_MAX:sd->status.str;
WBUFB(buf,5)=pc_need_status_point(sd,SP_STR);
WBUFB(buf,6)=(sd->status.agi > UCHAR_MAX)? UCHAR_MAX:sd->status.agi;
|