summaryrefslogtreecommitdiff
path: root/src/client.cpp
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/client.cpp
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/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index daae02221..5d635f522 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1527,8 +1527,7 @@ int Client::gameExec()
mCurrentDialog = new ConnectionDialog(
// TRANSLATORS: connection dialog header
_("Connecting to the game server"),
- Net::getNetworkType() != ServerInfo::MANASERV ?
- STATE_CHOOSE_SERVER : STATE_SWITCH_CHARACTER);
+ STATE_CHOOSE_SERVER);
mCurrentDialog->postInit();
Net::getGameHandler()->connect();
BLOCK_END("Client::gameExec STATE_CONNECT_GAME")