From b8534818a594b6b846e37f7407e68e722a9b155b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Feb 2015 20:04:28 +0300 Subject: Fix drop/store window in inventory. --- src/actions/windows.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/actions') 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) -- cgit v1.2.3-70-g09d2