diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:55:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:55:20 +0300 |
commit | fd050698f74b5dc7a9867bc93ba6b7c65ef2462f (patch) | |
tree | 246017e7d1b399e60a5d7b97a7106cd75587b88f /src/gui/dialogsmanager.cpp | |
parent | 4228763829f71ec4db50ed185483d7707c5e47eb (diff) | |
download | manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.gz manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.bz2 manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.xz manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.zip |
Remove getter for inventoryHandler.
Diffstat (limited to 'src/gui/dialogsmanager.cpp')
-rw-r--r-- | src/gui/dialogsmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp index dd5cfee6e..6af34bef4 100644 --- a/src/gui/dialogsmanager.cpp +++ b/src/gui/dialogsmanager.cpp @@ -55,8 +55,8 @@ void DialogsManager::closeDialogs() BuySellDialog::closeAll(); NpcDialog::closeAll(); SellDialog::closeAll(); - if (Net::getInventoryHandler()) - Net::getInventoryHandler()->closeStorage(); + if (inventoryHandler) + inventoryHandler->closeStorage(); if (deathNotice) { deathNotice->scheduleDelete(); |