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/game.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 1b67f6d90..82cc54d15 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -232,7 +232,9 @@ static void createGuiWindows() new SpellShortcutContainer(nullptr, f)); } +#ifdef EATHENA_SUPPORT bankWindow = new BankWindow; +#endif botCheckerWindow = new BotCheckerWindow; whoIsOnline = new WhoIsOnline; whoIsOnline->postInit(); @@ -341,7 +343,9 @@ static void destroyGuiWindows() delete2(socialWindow) delete2(dropShortcutWindow); delete2(spellShortcutWindow); +#ifdef EATHENA_SUPPORT delete2(bankWindow); +#endif delete2(botCheckerWindow); delete2(questsWindow); delete2(whoIsOnline); -- cgit v1.2.3-70-g09d2