summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2011-05-30 11:13:31 -0600
committerJared Adams <jaxad0127@gmail.com>2011-05-30 12:35:08 -0600
commit0248b2f58c783f21b7e68a20deadc0a3f942c869 (patch)
treefb9487625c282f59325f0585f08e2efd0683cd39 /src/net/tmwa
parentb69c0511206d68a61fd08042d1c122c9fac22202 (diff)
downloadmana-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/tmwa')
-rw-r--r--src/net/tmwa/charserverhandler.cpp2
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);