diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:03:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:03:22 +0300 |
commit | dfaae6f6e804e7779ade870a211a1a14d3a5d9aa (patch) | |
tree | a7652f4e548e166b39a8203e27c890c02c62d5ca /src/net/tmwa/gamehandler.cpp | |
parent | fd050698f74b5dc7a9867bc93ba6b7c65ef2462f (diff) | |
download | plus-dfaae6f6e804e7779ade870a211a1a14d3a5d9aa.tar.gz plus-dfaae6f6e804e7779ade870a211a1a14d3a5d9aa.tar.bz2 plus-dfaae6f6e804e7779ade870a211a1a14d3a5d9aa.tar.xz plus-dfaae6f6e804e7779ade870a211a1a14d3a5d9aa.zip |
Remove getter for loginHandler.
Diffstat (limited to 'src/net/tmwa/gamehandler.cpp')
-rw-r--r-- | src/net/tmwa/gamehandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/tmwa/gamehandler.cpp b/src/net/tmwa/gamehandler.cpp index f0c3c0d5d..8815803c6 100644 --- a/src/net/tmwa/gamehandler.cpp +++ b/src/net/tmwa/gamehandler.cpp @@ -103,8 +103,7 @@ void GameHandler::connect() BLOCK_START("GameHandler::connect") mNetwork->connect(mapServer); - const Token &token = static_cast<LoginHandler*>( - Net::getLoginHandler())->getToken(); + const Token &token = static_cast<LoginHandler*>(loginHandler)->getToken(); if (client->getState() == STATE_CONNECT_GAME) { |