diff options
author | Roderic Morris <roderic@ccs.neu.edu> | 2008-10-26 17:20:01 +0000 |
---|---|---|
committer | Roderic Morris <roderic@ccs.neu.edu> | 2008-10-26 17:20:01 +0000 |
commit | a602dd13024304ddd5ec36befee25961622a36a8 (patch) | |
tree | 3a8b10022f34b882116a6e8cc392a444f145c65d /src/net/beinghandler.cpp | |
parent | cd42f593aa6cc236e1a9142fae7a711fd9841e6d (diff) | |
download | mana-client-a602dd13024304ddd5ec36befee25961622a36a8.tar.gz mana-client-a602dd13024304ddd5ec36befee25961622a36a8.tar.bz2 mana-client-a602dd13024304ddd5ec36befee25961622a36a8.tar.xz mana-client-a602dd13024304ddd5ec36befee25961622a36a8.zip |
fix for last commit
Diffstat (limited to 'src/net/beinghandler.cpp')
-rw-r--r-- | src/net/beinghandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index 4d25b7d1..dd7d467b 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -231,7 +231,7 @@ void BeingHandler::handleBeingsMoveMessage(MessageIn &msg) // Ignore messages from the server for the local player if (being == player_node) - break; + continue; // If being is a player, and he only moves a little, its ok to be a little out of sync if (being->getType() == Being::PLAYER && abs(being->getPixelX() - dx) + @@ -239,7 +239,7 @@ void BeingHandler::handleBeingsMoveMessage(MessageIn &msg) (dx != being->getDestination().x && dy != being->getDestination().y)) { being->setDestination(being->getPixelX(),being->getPixelY()); - break; + continue; } if (abs(being->getPixelX() - sx) + abs(being->getPixelY() - sy) > 10 * 32) |