diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-16 17:56:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-16 17:56:25 +0300 |
commit | 91639f6f2834d93e1c285bfc4060262537cc9358 (patch) | |
tree | 3ebf3a3d418e6cb3f5b3fe6540009a065e484f6a /src/actions | |
parent | 88b62a5e35961c738c70ae193ee49943caf7f625 (diff) | |
download | plus-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.cpp | 4 |
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) |