diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-06 00:18:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-06 00:18:50 +0300 |
commit | a7b5a52cdecaed2b991ec061296b3989f9860199 (patch) | |
tree | 9449840f4c9473265e96b464c9c99c0ceb87253b /src/net/ea/inventoryhandler.cpp | |
parent | aee026ac48406044306cf89eb74f072606b17a0d (diff) | |
download | manaplus-a7b5a52cdecaed2b991ec061296b3989f9860199.tar.gz manaplus-a7b5a52cdecaed2b991ec061296b3989f9860199.tar.bz2 manaplus-a7b5a52cdecaed2b991ec061296b3989f9860199.tar.xz manaplus-a7b5a52cdecaed2b991ec061296b3989f9860199.zip |
fix storage if select other character with opened storage.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index be761fa19..8130eb259 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -587,4 +587,13 @@ void InventoryHandler::processPlayerArrowEquip(Net::MessageIn &msg) miniStatusWindow->updateArrows(); } +void InventoryHandler::closeStorage() +{ + if (mStorageWindow) + { + mStorageWindow->close(); + mStorageWindow = nullptr; + } +} + } // namespace Ea |