diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-15 00:14:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-15 00:14:39 +0300 |
commit | c2f007b58743491dc9250f09137ad847043b840d (patch) | |
tree | 472ce728623054a7b58141c16118e53a2837759b /src/net/eathena/buyingstorehandler.cpp | |
parent | c7f54151ba693e7f57378b77cc567d5aa26cf4cf (diff) | |
download | manaplus-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.cpp | 4 |
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) |