From c2f007b58743491dc9250f09137ad847043b840d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Feb 2015 00:14:39 +0300 Subject: eathena: impliment packet SMSG_BUYINGSTORE_OWN_ITEMS. --- src/net/eathena/buyingstorehandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/eathena/buyingstorehandler.cpp') diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp index 8781a13ee..e0cd402a7 100644 --- a/src/net/eathena/buyingstorehandler.cpp +++ b/src/net/eathena/buyingstorehandler.cpp @@ -24,7 +24,9 @@ #include "shopitem.h" #include "being/being.h" +#include "being/playerinfo.h" +#include "listeners/buyingstoremodelistener.h" #include "listeners/buyingstoreslotslistener.h" #include "net/ea/eaprotocol.h" @@ -149,6 +151,8 @@ void BuyingStoreHandler::processBuyingStoreOwnItems(Net::MessageIn &msg) msg.readUInt8("item type"); msg.readInt16("item id"); } + PlayerInfo::enableVending(true); + BuyingStoreModeListener::distributeEvent(true); } void BuyingStoreHandler::processBuyingStoreShowBoard(Net::MessageIn &msg) -- cgit v1.2.3-60-g2f50