diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-28 21:27:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-02 00:13:44 +0300 |
commit | b6a0e05498b2b1a64d9b407fb2416dbaa0faf407 (patch) | |
tree | 7a1023dabcdf250e0983edff3ab1a2a14226f300 /src/net | |
parent | 6930045257ca767dbfc095f95a440028d5b2213e (diff) | |
download | manaplus-b6a0e05498b2b1a64d9b407fb2416dbaa0faf407.tar.gz manaplus-b6a0e05498b2b1a64d9b407fb2416dbaa0faf407.tar.bz2 manaplus-b6a0e05498b2b1a64d9b407fb2416dbaa0faf407.tar.xz manaplus-b6a0e05498b2b1a64d9b407fb2416dbaa0faf407.zip |
eathena: add support for creating vending shop.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/vendinghandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp index 3228cf0db..54f1b74c1 100644 --- a/src/net/eathena/vendinghandler.cpp +++ b/src/net/eathena/vendinghandler.cpp @@ -24,6 +24,8 @@ #include "being/being.h" +#include "listeners/vendingslotslistener.h" + #include "net/ea/eaprotocol.h" #include "net/eathena/messageout.h" @@ -92,7 +94,7 @@ void VendingHandler::handleMessage(Net::MessageIn &msg) void VendingHandler::processOpenReq(Net::MessageIn &msg) { - msg.readInt16("slots allowed"); + VendingSlotsListener::distributeEvent(msg.readInt16("slots allowed")); } void VendingHandler::processShowBoard(Net::MessageIn &msg) |