diff options
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r-- | src/net/serverinfo.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h index 6153be942..3ef8243fc 100644 --- a/src/net/serverinfo.h +++ b/src/net/serverinfo.h @@ -151,15 +151,18 @@ class ServerInfo final #ifdef TMWA_SUPPORT if (compareStrI(serverType, "tmwathena") == 0) return ServerType::TMWATHENA; -#endif +#endif // TMWA_SUPPORT +#if defined(TMWA_SUPPORT) && defined(EATHENA_SUPPORT) + else +#endif // defined(TMWA_SUPPORT) && defined(EATHENA_SUPPORT) #ifdef EATHENA_SUPPORT - else if (compareStrI(serverType, "eathena") == 0) + if (compareStrI(serverType, "eathena") == 0) return ServerType::EATHENA; else if (compareStrI(serverType, "hercules") == 0) return ServerType::EATHENA; else if (compareStrI(serverType, "evol2") == 0) return ServerType::EVOL2; -#endif +#endif // EATHENA_SUPPORT return ServerType::UNKNOWN; } }; |