summaryrefslogtreecommitdiff
path: root/src/net/eathena/buyingstorehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-15 00:14:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-15 00:14:39 +0300
commitc2f007b58743491dc9250f09137ad847043b840d (patch)
tree472ce728623054a7b58141c16118e53a2837759b /src/net/eathena/buyingstorehandler.cpp
parentc7f54151ba693e7f57378b77cc567d5aa26cf4cf (diff)
downloadmanaplus-c2f007b58743491dc9250f09137ad847043b840d.tar.gz
manaplus-c2f007b58743491dc9250f09137ad847043b840d.tar.bz2
manaplus-c2f007b58743491dc9250f09137ad847043b840d.tar.xz
manaplus-c2f007b58743491dc9250f09137ad847043b840d.zip
eathena: impliment packet SMSG_BUYINGSTORE_OWN_ITEMS.
Diffstat (limited to 'src/net/eathena/buyingstorehandler.cpp')
-rw-r--r--src/net/eathena/buyingstorehandler.cpp4
1 files changed, 4 insertions, 0 deletions
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)