summaryrefslogtreecommitdiff
path: root/src/net/manaserv/loginhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-21 12:33:51 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-21 12:33:51 -0700
commitce7fd00212d225453f2365b4e54b984bea32cdb0 (patch)
tree961c1570b8586b3eee58b8e4f5fd60d4483dbfad /src/net/manaserv/loginhandler.cpp
parent5c8a2bb5349b71040b74bc44e10db0b80290e904 (diff)
downloadmana-client-ce7fd00212d225453f2365b4e54b984bea32cdb0.tar.gz
mana-client-ce7fd00212d225453f2365b4e54b984bea32cdb0.tar.bz2
mana-client-ce7fd00212d225453f2365b4e54b984bea32cdb0.tar.xz
mana-client-ce7fd00212d225453f2365b4e54b984bea32cdb0.zip
Remove another support ifdef
Diffstat (limited to 'src/net/manaserv/loginhandler.cpp')
-rw-r--r--src/net/manaserv/loginhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/manaserv/loginhandler.cpp b/src/net/manaserv/loginhandler.cpp
index 615abc51..4a0339b4 100644
--- a/src/net/manaserv/loginhandler.cpp
+++ b/src/net/manaserv/loginhandler.cpp
@@ -301,6 +301,11 @@ bool LoginHandler::isConnected()
void LoginHandler::disconnect()
{
accountServerConnection->disconnect();
+
+ if (state == STATE_CONNECT_GAME)
+ {
+ state = STATE_GAME;
+ }
}
void LoginHandler::loginAccount(LoginData *loginData)