summaryrefslogtreecommitdiff
path: root/src/game.cpp
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/game.cpp
parent88b62a5e35961c738c70ae193ee49943caf7f625 (diff)
downloadmanaplus-91639f6f2834d93e1c285bfc4060262537cc9358.tar.gz
manaplus-91639f6f2834d93e1c285bfc4060262537cc9358.tar.bz2
manaplus-91639f6f2834d93e1c285bfc4060262537cc9358.tar.xz
manaplus-91639f6f2834d93e1c285bfc4060262537cc9358.zip
Build BankWindow only if eathena support enabled.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 4 insertions, 0 deletions
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);