summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/netconsts.h6
-rw-r--r--src/net/serverinfo.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/net/netconsts.h b/src/net/netconsts.h
index 1977698ea..ab7f5458b 100644
--- a/src/net/netconsts.h
+++ b/src/net/netconsts.h
@@ -27,10 +27,10 @@
#include <stdint.h>
#endif
-#ifdef EATHENA_SUPPORT
-static const uint16_t DEFAULT_PORT = 6900;
-#else
+#ifdef TMWA_SUPPORT
static const uint16_t DEFAULT_PORT = 6901;
+#else
+static const uint16_t DEFAULT_PORT = 6900;
#endif
#endif // NET_NETCONSTS_H
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index c3e1ac5ad..af53577e6 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -69,10 +69,10 @@ class ServerInfo final
onlineListUrl(),
supportUrl(),
updateMirrors(),
-#ifdef EATHENA_SUPPORT
- port(6900),
-#else
+#ifdef TMWA_SUPPORT
port(6901),
+#else
+ port(6900),
#endif
version(),
save(false),