summaryrefslogtreecommitdiff
path: root/src/actions/windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/windows.cpp')
-rw-r--r--src/actions/windows.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actions/windows.cpp b/src/actions/windows.cpp
index 9d29b043c..c135ab541 100644
--- a/src/actions/windows.cpp
+++ b/src/actions/windows.cpp
@@ -51,6 +51,7 @@
#include "utils/gettext.h"
+#include "net/net.h"
#include "net/serverfeatures.h"
#include "debug.h"
@@ -266,8 +267,10 @@ impHandler0(questsWindowShow)
impHandler0(bankWindowShow)
{
- if (!serverFeatures || !serverFeatures->haveBankApi())
+#ifdef TMWA_SUPPORT
+ if (Net::getNetworkType() == ServerType::TMWATHENA)
return false;
+#endif // TMWA_SUPPORT
showHideWindow(bankWindow);
return true;