summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
commit448ff09baf47387c9cfb6919028b1d4bbe2c8f0b (patch)
tree35258d1b669dd6fa83d0a4d21792337c6f6c228d /src/gui/windows
parent9993fbc1d1bec556143d974f148869e1fb4c6307 (diff)
downloadplus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.gz
plus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.bz2
plus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.xz
plus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.zip
Add some missing tmwa defines.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/minimap.cpp2
-rw-r--r--src/gui/windows/serverdialog.cpp2
-rw-r--r--src/gui/windows/textcommandeditor.cpp2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index e149f06e8..606b1ce7e 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -351,7 +351,9 @@ void Minimap::draw2(Graphics *const graphics)
type = UserColorId::PORTAL_HIGHLIGHT;
break;
+#ifdef TMWA_SUPPORT
case ActorType::LocalPet:
+#endif
case ActorType::Pet:
type = UserColorId::PET;
break;
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 6d9992cab..5299d4fd1 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -80,9 +80,7 @@ static uint16_t defaultPortForServerType(const ServerTypeT type)
case ServerType::EVOL2:
return 6900;
case ServerType::UNKNOWN:
-#ifdef TMWA_SUPPORT
case ServerType::TMWATHENA:
-#endif
return 6901;
}
}
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp
index 5c59cd389..2e31ca80f 100644
--- a/src/gui/windows/textcommandeditor.cpp
+++ b/src/gui/windows/textcommandeditor.cpp
@@ -42,7 +42,9 @@
#include "debug.h"
+#ifdef TMWA_SUPPORT
const unsigned int MAGIC_START_ID = 340;
+#endif
TextCommandEditor::TextCommandEditor(TextCommand *const command) :
// TRANSLATORS: command editor name