diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-14 23:28:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-14 23:28:02 +0300 |
commit | c7f54151ba693e7f57378b77cc567d5aa26cf4cf (patch) | |
tree | 653165d368da9fc58c9dbb5a8161e4e420a0b37c /src/net | |
parent | c26624e72bb8d60bc1fa13cd5a178e06579e49a4 (diff) | |
download | mv-c7f54151ba693e7f57378b77cc567d5aa26cf4cf.tar.gz mv-c7f54151ba693e7f57378b77cc567d5aa26cf4cf.tar.bz2 mv-c7f54151ba693e7f57378b77cc567d5aa26cf4cf.tar.xz mv-c7f54151ba693e7f57378b77cc567d5aa26cf4cf.zip |
Enable publish button in personal buy shop only if it allowed by server.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/buyingstorehandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp index 649b2b39e..8781a13ee 100644 --- a/src/net/eathena/buyingstorehandler.cpp +++ b/src/net/eathena/buyingstorehandler.cpp @@ -25,6 +25,8 @@ #include "being/being.h" +#include "listeners/buyingstoreslotslistener.h" + #include "net/ea/eaprotocol.h" #include "net/eathena/messageout.h" @@ -111,8 +113,7 @@ void BuyingStoreHandler::handleMessage(Net::MessageIn &msg) void BuyingStoreHandler::processBuyingStoreOpen(Net::MessageIn &msg) { - // +++ need create store dialog - msg.readUInt8("slots"); + BuyingStoreSlotsListener::distributeEvent(msg.readUInt8("slots")); } void BuyingStoreHandler::processBuyingStoreCreateFailed(Net::MessageIn &msg) |