diff options
author | shennetsind <ind@henn.et> | 2014-02-03 15:49:43 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-02-03 15:49:43 -0200 |
commit | 26af96e93821b1b4b918086473b987b5382c7b3a (patch) | |
tree | 553ac749c2a322a0dc4dc2d3f94aa5b662889f61 /src/map/clif.c | |
parent | 50bc76c412b6618d90fdbdb24d43da2bda0525a2 (diff) | |
parent | c8c3255fd990ae2f91ed130c0a742bf94037128a (diff) | |
download | hercules-26af96e93821b1b4b918086473b987b5382c7b3a.tar.gz hercules-26af96e93821b1b4b918086473b987b5382c7b3a.tar.bz2 hercules-26af96e93821b1b4b918086473b987b5382c7b3a.tar.xz hercules-26af96e93821b1b4b918086473b987b5382c7b3a.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 9ae88200c..1e1a98e09 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -11175,11 +11175,10 @@ void clif_parse_ChangeCart(int fd,struct map_session_data *sd) /// status id: /// SP_STR ~ SP_LUK /// amount: -/// client sends always 1 for this, even when using /str+ and -/// the like -void clif_parse_StatusUp(int fd,struct map_session_data *sd) -{ - pc->statusup(sd,RFIFOW(fd,2)); +/// Old clients send always 1 for this, even when using /str+ and the like. +/// Newer clients (2013-12-23 and newer) send the correct amount. +void clif_parse_StatusUp(int fd,struct map_session_data *sd) { + pc->statusup(sd,RFIFOW(fd,2), RFIFOB(fd, 4)); } |