summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-19 06:55:28 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-19 06:55:28 +0300
commit98c74738f21d7ae256f1273b6c1614ee64e2a3ad (patch)
tree95a1af0071c774021c781611d215fee84358a807 /src/progs
parenta0b050fd82177f38b8bbf3360159d57886e2a347 (diff)
downloadplus-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.tar.gz
plus-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.tar.bz2
plus-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.tar.xz
plus-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.zip
Fix code style.
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/manaplus/client.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index 3ae4c2f76..dabfe293b 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -880,8 +880,7 @@ void Client::stateConnectServer1()
config.write();
}
}
- else if (mOldState != State::CHOOSE_SERVER &&
- (loginHandler != nullptr) &&
+ else if (loginHandler != nullptr &&
loginHandler->isConnected())
{
mState = State::PRE_LOGIN;