summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@users.noreply.github.com>2014-09-20 16:42:52 -0300
committershennetsind <shennetsind@users.noreply.github.com>2014-09-20 16:42:52 -0300
commit4d138cbe8c0071d0fc81020e2ff4078d31c8760a (patch)
tree54ad0bba3c56ae1fc339da35276a87ad9e6aa87c
parent1c1e10a5804ccde4daddd59d2f5d9916aa0d26db (diff)
parentc3f8ea29ad7dca739e150be8b312db223847b365 (diff)
downloadhercules-4d138cbe8c0071d0fc81020e2ff4078d31c8760a.tar.gz
hercules-4d138cbe8c0071d0fc81020e2ff4078d31c8760a.tar.bz2
hercules-4d138cbe8c0071d0fc81020e2ff4078d31c8760a.tar.xz
hercules-4d138cbe8c0071d0fc81020e2ff4078d31c8760a.zip
Merge pull request #332 from 4144/missing_rfifoskip
Add missing RFIFOSKIP in packet 0x68 and 0x1fb. Fixes Bug 8317 http://hercules.ws/board/tracker/issue-8317-missing-rfifoskip-in-packet-0x68-and-0x1fb/
-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 abebc5ff9..0d96d40cb 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;
}
}