summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index c8d51aff4..c9ef20ea2 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -104,6 +104,7 @@
#include "net/generalhandler.h"
#include "net/gamehandler.h"
+#include "net/net.h"
#include "net/packetcounters.h"
#include "net/serverfeatures.h"
@@ -210,7 +211,7 @@ static void createGuiWindows()
CREATEWIDGETV0(miniStatusWindow, MiniStatusWindow);
CREATEWIDGETV(inventoryWindow, InventoryWindow,
PlayerInfo::getInventory());
- if (serverFeatures && serverFeatures->haveCart())
+ if (Net::getNetworkType() == ServerType::EATHENA)
{
CREATEWIDGETV(cartWindow, InventoryWindow,
PlayerInfo::getCartInventory());