diff options
author | Jared Adams <jaxad0127@gmail.com> | 2011-05-30 11:13:31 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2011-05-30 12:35:08 -0600 |
commit | 0248b2f58c783f21b7e68a20deadc0a3f942c869 (patch) | |
tree | fb9487625c282f59325f0585f08e2efd0683cd39 /src/net | |
parent | b69c0511206d68a61fd08042d1c122c9fac22202 (diff) | |
download | mana-client-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.gz mana-client-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.bz2 mana-client-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.xz mana-client-0248b2f58c783f21b7e68a20deadc0a3f942c869.zip |
Remove some uneeded offsetting
Also fix position of being names.
Reviewed-by: Bertram
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index e6dc84a2..dcc68fb3 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -159,10 +159,10 @@ void CharServerHandler::handleMessage(Net::MessageIn &msg) mapServer.hostname = ipToString(msg.readInt32()); mapServer.port = msg.readInt16(); - // Prevent the selected local player from being deleted player_node = mSelectedCharacter->dummy; PlayerInfo::setBackend(mSelectedCharacter->data); + // Prevent the selected local player from being deleted mSelectedCharacter->dummy = 0; delete_all(mCharacters); |