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/client.cpp | |
parent | aee026ac48406044306cf89eb74f072606b17a0d (diff) | |
download | plus-a7b5a52cdecaed2b991ec061296b3989f9860199.tar.gz plus-a7b5a52cdecaed2b991ec061296b3989f9860199.tar.bz2 plus-a7b5a52cdecaed2b991ec061296b3989f9860199.tar.xz plus-a7b5a52cdecaed2b991ec061296b3989f9860199.zip |
fix storage if select other character with opened storage.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 272b5b1da..83395f409 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2654,6 +2654,8 @@ void Client::closeDialogs() BuySellDialog::closeAll(); NpcDialog::closeAll(); SellDialog::closeAll(); + if (Net::getInventoryHandler()) + Net::getInventoryHandler()->closeStorage(); } bool Client::isTmw() const |