summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-08 18:43:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-08 18:43:49 +0300
commit0c1c6b5df196443b18e9e0ef2e9ef3de350a7234 (patch)
treee3f8ff1f0a844fca28c6ddc4af919880cbc2d5ac /src/game.cpp
parent4f96bf265375b7ca580f072f5a25c8b4097fb04a (diff)
downloadmanaplus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.gz
manaplus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.bz2
manaplus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.xz
manaplus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.zip
Fix wrong checks after removing some server features.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index ed04a905d..cf58a1930 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -210,7 +210,7 @@ static void createGuiWindows()
CREATEWIDGETV0(miniStatusWindow, MiniStatusWindow);
CREATEWIDGETV(inventoryWindow, InventoryWindow,
PlayerInfo::getInventory());
- if (Net::getNetworkType() == ServerType::EATHENA)
+ if (Net::getNetworkType() != ServerType::TMWATHENA)
{
CREATEWIDGETV(cartWindow, InventoryWindow,
PlayerInfo::getCartInventory());