diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-09 14:57:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-09 15:59:33 +0300 |
commit | dd4d44a07d3a63ced0eec51c30b75887792c4a36 (patch) | |
tree | 26f3da1fd25d91eb8483dc1b819a1d3a3552e6af /src/net | |
parent | 099c67f93cf49cda90be55606e1b744c47624b92 (diff) | |
download | manaverse-dd4d44a07d3a63ced0eec51c30b75887792c4a36.tar.gz manaverse-dd4d44a07d3a63ced0eec51c30b75887792c4a36.tar.bz2 manaverse-dd4d44a07d3a63ced0eec51c30b75887792c4a36.tar.xz manaverse-dd4d44a07d3a63ced0eec51c30b75887792c4a36.zip |
some more style and cast fixes.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/beinghandler.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp index 28f7fc999..2d8cc8b7a 100644 --- a/src/net/tmwa/beinghandler.cpp +++ b/src/net/tmwa/beinghandler.cpp @@ -608,15 +608,11 @@ void BeingHandler::processPlayerMoveUpdate(Net::MessageIn &msg, //need set stay state? logger->log("QQQ2 SMSG_PLAYER_UPDATE_1:" + toString(id) + " " + toString(type)); - if (dstBeing) - { - logger->log("dstBeing id:" - + toString(dstBeing->getId())); - logger->log("dstBeing name:" - + dstBeing->getName()); - } + logger->log("dstBeing id:" + + toString(dstBeing->getId())); + logger->log("dstBeing name:" + + dstBeing->getName()); break; - } } else if (msgType == 3) |