diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-06 00:13:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-06 00:13:06 +0300 |
commit | 6245aed671abe032d47db8b0bce7d7b3f3ca522a (patch) | |
tree | ecc1a5c4b5f18c3554c1dcbf7c82ce7f3ad4e704 /src/gui/windows/serverdialog.cpp | |
parent | 4cac7fcfd4ee4fc7c5ca6bd932de39bb28ed2ea3 (diff) | |
download | manaverse-6245aed671abe032d47db8b0bce7d7b3f3ca522a.tar.gz manaverse-6245aed671abe032d47db8b0bce7d7b3f3ca522a.tar.bz2 manaverse-6245aed671abe032d47db8b0bce7d7b3f3ca522a.tar.xz manaverse-6245aed671abe032d47db8b0bce7d7b3f3ca522a.zip |
Add server type Evol2.
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index 035a98a10..ffb9c3bb9 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -74,9 +74,15 @@ static std::string serverTypeToString(const ServerInfo::Type type) case ServerInfo::EVOL: return ""; #endif - case ServerInfo::EATHENA: #ifdef EATHENA_SUPPORT + case ServerInfo::EATHENA: return "eAthena"; + case ServerInfo::EVOL2: + return "Evol2"; +#else + case ServerInfo::EATHENA: + case ServerInfo::EVOL2: + return ""; #endif default: case ServerInfo::UNKNOWN: @@ -90,6 +96,7 @@ static uint16_t defaultPortForServerType(const ServerInfo::Type type) { default: case ServerInfo::EATHENA: + case ServerInfo::EVOL2: #ifdef EATHENA_SUPPORT return 6900; #endif |