summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-31 18:20:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-31 18:20:16 +0300
commitc3f8ea29ad7dca739e150be8b312db223847b365 (patch)
tree01507a6cdeff89b686456da7e804b358e7b74d31 /src/char/char.c
parent0f821b6af8d29d4063bc67fe4da154724e2481c1 (diff)
downloadhercules-c3f8ea29ad7dca739e150be8b312db223847b365.tar.gz
hercules-c3f8ea29ad7dca739e150be8b312db223847b365.tar.bz2
hercules-c3f8ea29ad7dca739e150be8b312db223847b365.tar.xz
hercules-c3f8ea29ad7dca739e150be8b312db223847b365.zip
Add missing RFIFOSKIP in packet 0x68 and 0x1fb.
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 9abb17257..863692492 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -4514,6 +4514,7 @@ int parse_char(int fd)
WFIFOW(fd,0) = 0x6c;
WFIFOB(fd,2) = 0;
WFIFOSET(fd,3);
+ RFIFOSKIP(fd,( cmd == 0x68) ? 46 : 56);
break;
}
}