summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-27 16:48:06 -0300
committershennetsind <ind@henn.et>2013-04-27 16:48:06 -0300
commit4c2623166c2cf07ca6751fb7a110ed95f6494551 (patch)
tree423cf00638f11b42c673c5cfb064cb9bce74f6a6 /src/map
parent8c5e27c1cc48ca323df82acb1b46314aac213b76 (diff)
downloadhercules-4c2623166c2cf07ca6751fb7a110ed95f6494551.tar.gz
hercules-4c2623166c2cf07ca6751fb7a110ed95f6494551.tar.bz2
hercules-4c2623166c2cf07ca6751fb7a110ed95f6494551.tar.xz
hercules-4c2623166c2cf07ca6751fb7a110ed95f6494551.zip
Fixed Bug #7192
Fixed Buying Store for 2012-07-10 onwards clients, special thanks to Yommy <3 http://hercules.ws/board/tracker/issue-7192-crash-when-closing-buying-store-customer-2013/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/packets.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/packets.h b/src/map/packets.h
index 13547586a..c91028c13 100644
--- a/src/map/packets.h
+++ b/src/map/packets.h
@@ -2021,6 +2021,10 @@ packet(0x020d,-1);
packet(0x0960,5,clif->pChangeDir,2,4);
#endif
+#if PACKETVER >= 20120710
+ packet(0x0886,2,clif->pReqCloseBuyingStore,0);
+#endif
+
#if PACKETVER >= 20130313
packet(0x035f,6,clif->pReqClickBuyingStore,2);
#endif
@@ -2053,7 +2057,6 @@ packet(0x020d,-1);
packet(0x0998,8,clif->pEquipItem,2,4);
//packet(0x0281,-1,clif->pItemListWindowSelected,2,4,8);
packet(0x0938,-1,clif->pReqOpenBuyingStore,2,4,8,9,89);
- packet(0x0815,2,clif->pReqCloseBuyingStore,0);
packet(0x0922,-1,clif->pReqTradeBuyingStore,2,4,8,12);
packet(0x094E,-1,clif->pSearchStoreInfo,2,4,5,9,13,14,15);
//packet(0x0835,2,clif->pSearchStoreInfoNextPage,0);