summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 17:09:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 17:09:30 +0300
commite390134047945b0d669249e62f6d525698be180e (patch)
treee10e8d1a32f8c78ab20dbead1a2226828bac418a /src
parent3efd5188c210477fe3d5c895f266fcf2c6da184c (diff)
downloadmanaplus-e390134047945b0d669249e62f6d525698be180e.tar.gz
manaplus-e390134047945b0d669249e62f6d525698be180e.tar.bz2
manaplus-e390134047945b0d669249e62f6d525698be180e.tar.xz
manaplus-e390134047945b0d669249e62f6d525698be180e.zip
fix default port if tmwa support enabled.
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),