summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/buyingstorehandler.cpp5
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)