From 5d7a02cee16478f23488495b3d031013eacea108 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Feb 2015 12:25:28 +0300 Subject: allow unpublish buying store shop. --- src/net/eathena/buyingstorehandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net/eathena') 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 -- cgit v1.2.3-70-g09d2