diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-19 02:24:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-19 02:24:20 +0300 |
commit | 886522371299b45254b7dc72e6de3070703d7c10 (patch) | |
tree | 738745eab76eb5f55a9adc08bfac10077b07efac /src/net/serverinfo.h | |
parent | 7cd309e7c9e0200cedb45edfeeba5a601d3fb446 (diff) | |
download | mv-886522371299b45254b7dc72e6de3070703d7c10.tar.gz mv-886522371299b45254b7dc72e6de3070703d7c10.tar.bz2 mv-886522371299b45254b7dc72e6de3070703d7c10.tar.xz mv-886522371299b45254b7dc72e6de3070703d7c10.zip |
Enable server type selection again. Add evol server type. Now working same as tmweathena.
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r-- | src/net/serverinfo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h index 2e8d63a6e..eb07f766e 100644 --- a/src/net/serverinfo.h +++ b/src/net/serverinfo.h @@ -35,7 +35,8 @@ public: { UNKNOWN = 0, MANASERV, - TMWATHENA + TMWATHENA, + EVOL }; typedef std::pair<int, std::string> VersionString; @@ -103,6 +104,8 @@ public: { if (compareStrI(type, "tmwathena") == 0) return TMWATHENA; + if (compareStrI(type, "evol") == 0) + return EVOL; // Used for backward compatibility else if (compareStrI(type, "eathena") == 0) return TMWATHENA; |