diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-04 21:35:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-04 21:35:47 +0300 |
commit | b3e0dd932a4980c8c40a259e010f4c437d6f497d (patch) | |
tree | 1fdab9ac4a73d98c0b30a652430d9131fe3b6438 /src/net/ea | |
parent | 3181bc7610b80c360dc59a88b0408099e8ae3bc9 (diff) | |
download | manaverse-b3e0dd932a4980c8c40a259e010f4c437d6f497d.tar.gz manaverse-b3e0dd932a4980c8c40a259e010f4c437d6f497d.tar.bz2 manaverse-b3e0dd932a4980c8c40a259e010f4c437d6f497d.tar.xz manaverse-b3e0dd932a4980c8c40a259e010f4c437d6f497d.zip |
Fix possible incorrect ditection.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 528608d7e..bb7b7bc67 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -691,7 +691,7 @@ void BeingHandler::processBeingChangeDirection(Net::MessageIn &msg) msg.readInt16(); // unused - const unsigned char dir = msg.readInt8(); + const unsigned char dir = msg.readInt8() & 0x0f; dstBeing->setDirection(dir); if (player_node) player_node->imitateDirection(dstBeing, dir); |