diff options
Diffstat (limited to 'src/net/eathena/vendinghandler.cpp')
-rw-r--r-- | src/net/eathena/vendinghandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp index 991bcdf10..dd1d7e7cc 100644 --- a/src/net/eathena/vendinghandler.cpp +++ b/src/net/eathena/vendinghandler.cpp @@ -20,6 +20,7 @@ #include "net/eathena/vendinghandler.h" +#include "net/eathena/messageout.h" #include "net/eathena/protocol.h" #include "debug.h" @@ -151,4 +152,9 @@ void VendingHandler::processReport(Net::MessageIn &msg) msg.readInt16("amount"); } +void VendingHandler::close() const +{ + createOutPacket(CMSG_VENDING_CLOSE); +} + } // namespace EAthena |