summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/windows.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/actions/windows.cpp b/src/actions/windows.cpp
index cbf18125c..74f5aa071 100644
--- a/src/actions/windows.cpp
+++ b/src/actions/windows.cpp
@@ -279,6 +279,7 @@ impHandler0(bankWindowShow)
impHandler0(cartWindowShow)
{
+#ifdef EATHENA_SUPPORT
if (!serverFeatures->haveCart()
|| !localPlayer
|| !localPlayer->getHaveCart())
@@ -286,10 +287,14 @@ impHandler0(cartWindowShow)
return false;
}
-#ifdef EATHENA_SUPPORT
showHideWindow(cartWindow);
-#endif
+ if (inventoryWindow)
+ inventoryWindow->updateDropButton();
return true;
+#else
+ return false;
+#endif
+
}
impHandler0(updaterWindowShow)