summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-16 17:56:25 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-16 17:56:25 +0300
commit91639f6f2834d93e1c285bfc4060262537cc9358 (patch)
tree3ebf3a3d418e6cb3f5b3fe6540009a065e484f6a /src/actions
parent88b62a5e35961c738c70ae193ee49943caf7f625 (diff)
downloadplus-91639f6f2834d93e1c285bfc4060262537cc9358.tar.gz
plus-91639f6f2834d93e1c285bfc4060262537cc9358.tar.bz2
plus-91639f6f2834d93e1c285bfc4060262537cc9358.tar.xz
plus-91639f6f2834d93e1c285bfc4060262537cc9358.zip
Build BankWindow only if eathena support enabled.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/windows.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/windows.cpp b/src/actions/windows.cpp
index 74f5aa071..1b879496a 100644
--- a/src/actions/windows.cpp
+++ b/src/actions/windows.cpp
@@ -270,11 +270,15 @@ impHandler0(questsWindowShow)
impHandler0(bankWindowShow)
{
+#ifdef EATHENA_SUPPORT
if (!serverFeatures->haveBankApi())
return false;
showHideWindow(bankWindow);
return true;
+#else
+ return false;
+#endif
}
impHandler0(cartWindowShow)