diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-15 12:25:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-15 12:25:28 +0300 |
commit | 5d7a02cee16478f23488495b3d031013eacea108 (patch) | |
tree | a1374603b86d38f2a0ada850b69e21a7d7c67f74 /src/net/eathena/buyingstorehandler.cpp | |
parent | c2f007b58743491dc9250f09137ad847043b840d (diff) | |
download | plus-5d7a02cee16478f23488495b3d031013eacea108.tar.gz plus-5d7a02cee16478f23488495b3d031013eacea108.tar.bz2 plus-5d7a02cee16478f23488495b3d031013eacea108.tar.xz plus-5d7a02cee16478f23488495b3d031013eacea108.zip |
allow unpublish buying store shop.
Diffstat (limited to 'src/net/eathena/buyingstorehandler.cpp')
-rw-r--r-- | src/net/eathena/buyingstorehandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp index e0cd402a7..18e933c56 100644 --- a/src/net/eathena/buyingstorehandler.cpp +++ b/src/net/eathena/buyingstorehandler.cpp @@ -261,6 +261,7 @@ void BuyingStoreHandler::create(const std::string &name, void BuyingStoreHandler::close() const { createOutPacket(CMSG_BUYINGSTORE_CLOSE); + PlayerInfo::enableVending(false); } void BuyingStoreHandler::open(const Being *const being) const |