From e390134047945b0d669249e62f6d525698be180e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Sep 2014 17:09:30 +0300 Subject: fix default port if tmwa support enabled. --- src/net/netconsts.h | 6 +++--- src/net/serverinfo.h | 6 +++--- 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 #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), -- cgit v1.2.3-70-g09d2