summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-11 22:23:24 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:28 +0300
commit64841a9db70673c9e5ad61ab8d29585f7ebdf585 (patch)
tree852767d24dc9180a161df258af8bfdc2ecf626b4 /src/map/clif.c
parent6c0436f0c5710d025ed5c2796a24fd7bcea2f5e4 (diff)
downloadhercules-64841a9db70673c9e5ad61ab8d29585f7ebdf585.tar.gz
hercules-64841a9db70673c9e5ad61ab8d29585f7ebdf585.tar.bz2
hercules-64841a9db70673c9e5ad61ab8d29585f7ebdf585.tar.xz
hercules-64841a9db70673c9e5ad61ab8d29585f7ebdf585.zip
Fix packet limit in function clif_parse_CashShopReqTab.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index feebb95bf..aaa4e8670 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -18761,7 +18761,8 @@ static void clif_parse_CashShopReqTab(int fd, struct map_session_data *sd) __att
/* [Ind/Hercules] */
static void clif_parse_CashShopReqTab(int fd, struct map_session_data *sd)
{
-#if PACKETVER >= 20110222
+// [4144] packet exists only in 2011 and was dropped after
+#if PACKETVER >= 20110222 && PACKETVER < 20120000
short tab = RFIFOW(fd, 2);
int j;