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/actions | |
parent | 89c361475ff1648c38c3c30f8112727b63fb40d6 (diff) | |
download | mv-b8534818a594b6b846e37f7407e68e722a9b155b.tar.gz mv-b8534818a594b6b846e37f7407e68e722a9b155b.tar.bz2 mv-b8534818a594b6b846e37f7407e68e722a9b155b.tar.xz mv-b8534818a594b6b846e37f7407e68e722a9b155b.zip |
Fix drop/store window in inventory.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/windows.cpp | 9 |
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) |