diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-28 21:29:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-28 21:45:47 +0300 |
commit | 0b7ef18ac3c7fb4e3717f6311d4e21a31ff440d5 (patch) | |
tree | 6ed783279483538799567c38c2818c5dd136e302 /src/client.cpp | |
parent | bb87f2911b63eaf80e49d689bf52ecf2042ae098 (diff) | |
download | mv-0b7ef18ac3c7fb4e3717f6311d4e21a31ff440d5.tar.gz mv-0b7ef18ac3c7fb4e3717f6311d4e21a31ff440d5.tar.bz2 mv-0b7ef18ac3c7fb4e3717f6311d4e21a31ff440d5.tar.xz mv-0b7ef18ac3c7fb4e3717f6311d4e21a31ff440d5.zip |
Move dialogs related function into separate file.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/client.cpp b/src/client.cpp index 3161bae41..1d0cb9609 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2738,17 +2738,6 @@ int Client::getFramerate() const return SDL_getFramerate(&client->mFpsManager); } -void Client::closeDialogs() -{ - NpcDialog::clearDialogs(); - BuyDialog::closeAll(); - BuySellDialog::closeAll(); - NpcDialog::closeAll(); - SellDialog::closeAll(); - if (Net::getInventoryHandler()) - Net::getInventoryHandler()->closeStorage(); -} - bool Client::isTmw() const { const std::string &name = getServerName(); |