summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-19 02:24:20 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-19 02:24:20 +0300
commit886522371299b45254b7dc72e6de3070703d7c10 (patch)
tree738745eab76eb5f55a9adc08bfac10077b07efac /src/net/serverinfo.h
parent7cd309e7c9e0200cedb45edfeeba5a601d3fb446 (diff)
downloadmanaverse-886522371299b45254b7dc72e6de3070703d7c10.tar.gz
manaverse-886522371299b45254b7dc72e6de3070703d7c10.tar.bz2
manaverse-886522371299b45254b7dc72e6de3070703d7c10.tar.xz
manaverse-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.h5
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;