diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-15 20:04:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-15 20:04:28 +0300 |
commit | b8534818a594b6b846e37f7407e68e722a9b155b (patch) | |
tree | f4b1bf8ee2b534fa7e50517b6a0c84c446318c77 /src/game.cpp | |
parent | 89c361475ff1648c38c3c30f8112727b63fb40d6 (diff) | |
download | manaverse-b8534818a594b6b846e37f7407e68e722a9b155b.tar.gz manaverse-b8534818a594b6b846e37f7407e68e722a9b155b.tar.bz2 manaverse-b8534818a594b6b846e37f7407e68e722a9b155b.tar.xz manaverse-b8534818a594b6b846e37f7407e68e722a9b155b.zip |
Fix drop/store window in inventory.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index 00f07d2b6..df582af9f 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -186,8 +186,11 @@ static void createGuiWindows() inventoryWindow = new InventoryWindow(PlayerInfo::getInventory()); inventoryWindow->postInit(); #ifdef EATHENA_SUPPORT - cartWindow = new InventoryWindow(PlayerInfo::getCartInventory()); - cartWindow->postInit(); + if (serverFeatures->haveCart()) + { + cartWindow = new InventoryWindow(PlayerInfo::getCartInventory()); + cartWindow->postInit(); + } #endif shopWindow = new ShopWindow; shopWindow->postInit(); |