From a602dd13024304ddd5ec36befee25961622a36a8 Mon Sep 17 00:00:00 2001 From: Roderic Morris Date: Sun, 26 Oct 2008 17:20:01 +0000 Subject: fix for last commit --- src/net/beinghandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3-70-g09d2