diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-10-19 06:55:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-10-19 06:55:28 +0300 |
commit | 98c74738f21d7ae256f1273b6c1614ee64e2a3ad (patch) | |
tree | 95a1af0071c774021c781611d215fee84358a807 /src/progs | |
parent | a0b050fd82177f38b8bbf3360159d57886e2a347 (diff) | |
download | plus-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.cpp | 3 |
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; |