summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-27 17:14:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-27 17:14:45 +0300
commitf4776cb6852122ea1d6babc3a3df3bdbd401fce7 (patch)
treea53c31b3e789291d3edb3986fbf6359a2caa6efc /src/gui
parentc61f1b6abe8e68995f00ae3a939afe5049e5cdb3 (diff)
downloadmanaplus-f4776cb6852122ea1d6babc3a3df3bdbd401fce7.tar.gz
manaplus-f4776cb6852122ea1d6babc3a3df3bdbd401fce7.tar.bz2
manaplus-f4776cb6852122ea1d6babc3a3df3bdbd401fce7.tar.xz
manaplus-f4776cb6852122ea1d6babc3a3df3bdbd401fce7.zip
Remove some manaserv enums usage.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/charselectdialog.cpp1
-rw-r--r--src/gui/windows/editserverdialog.cpp1
-rw-r--r--src/gui/windows/serverdialog.cpp2
3 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index 3ef378aa0..4480f06af 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -473,7 +473,6 @@ void CharSelectDialog::setCharacters(const Net::Characters &characters)
Net::Character *const character = *i;
- // Slots Number start at 1 for Manaserv, so we offset them by one.
const int characterSlot = character->slot;
if (characterSlot >= static_cast<int>(mCharacterEntries.size()))
{
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp
index c4e490091..316a7051b 100644
--- a/src/gui/windows/editserverdialog.cpp
+++ b/src/gui/windows/editserverdialog.cpp
@@ -143,7 +143,6 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent,
default:
case ServerInfo::UNKNOWN:
case ServerInfo::TMWATHENA:
- case ServerInfo::MANASERV:
#ifndef EATHENA_SUPPORT
case ServerInfo::EATHENA:
#endif
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index faae75ab3..af29da656 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -68,7 +68,6 @@ static std::string serverTypeToString(const ServerInfo::Type type)
return "eAthena";
#endif
default:
- case ServerInfo::MANASERV:
case ServerInfo::UNKNOWN:
return "";
}
@@ -86,7 +85,6 @@ static uint16_t defaultPortForServerType(const ServerInfo::Type type)
case ServerInfo::UNKNOWN:
case ServerInfo::TMWATHENA:
case ServerInfo::EVOL:
- case ServerInfo::MANASERV:
return 6901;
}
}