diff options
author | hemagx <hemagx2@gmail.com> | 2015-12-24 14:20:47 +0200 |
---|---|---|
committer | hemagx <hemagx2@gmail.com> | 2015-12-24 14:20:47 +0200 |
commit | 8e77c3459e87df92309afe25d25539e6684e2dda (patch) | |
tree | ae22408dda22aadca26836c697466f9cda13790e /src | |
parent | 699ff0a2650fd0db4ea9884f8e7f95dcfa19c265 (diff) | |
download | hercules-8e77c3459e87df92309afe25d25539e6684e2dda.tar.gz hercules-8e77c3459e87df92309afe25d25539e6684e2dda.tar.bz2 hercules-8e77c3459e87df92309afe25d25539e6684e2dda.tar.xz hercules-8e77c3459e87df92309afe25d25539e6684e2dda.zip |
Change packet 0x82d to not send billing slots.
currently billing slots is not supported and sending the premium slots twice cause client to bug.
Fixes #1017
Diffstat (limited to 'src')
-rw-r--r-- | src/char/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index 91d0870d1..e991aafcc 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -2117,7 +2117,7 @@ void char_mmo_char_send_slots_info(int fd, struct char_session_data* sd) { WFIFOW(fd,2) = 29; WFIFOB(fd,4) = sd->char_slots; WFIFOB(fd,5) = MAX_CHARS - sd->char_slots; - WFIFOB(fd,6) = MAX_CHARS - sd->char_slots; + WFIFOB(fd,6) = 0; WFIFOB(fd,7) = sd->char_slots; WFIFOB(fd,8) = sd->char_slots; memset(WFIFOP(fd,9), 0, 20); // unused bytes |