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/game.cpp | |
parent | 88b62a5e35961c738c70ae193ee49943caf7f625 (diff) | |
download | mv-91639f6f2834d93e1c285bfc4060262537cc9358.tar.gz mv-91639f6f2834d93e1c285bfc4060262537cc9358.tar.bz2 mv-91639f6f2834d93e1c285bfc4060262537cc9358.tar.xz mv-91639f6f2834d93e1c285bfc4060262537cc9358.zip |
Build BankWindow only if eathena support enabled.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
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); |