From 91639f6f2834d93e1c285bfc4060262537cc9358 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Feb 2015 17:56:25 +0300 Subject: Build BankWindow only if eathena support enabled. --- src/actions/windows.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/actions') 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) -- cgit v1.2.3-70-g09d2