From 3b2624b86f46a8bb573f6e3bf653dd5e5eda6f2c Mon Sep 17 00:00:00 2001 From: ApoC Date: Fri, 4 Sep 2009 11:03:32 +0200 Subject: [PATCH] [8465] Removed not needed checks. Signed-off-by: ApoC --- src/game/DestinationHolderImp.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/game/DestinationHolderImp.h b/src/game/DestinationHolderImp.h index a5c42ebc4..1340e0d1b 100644 --- a/src/game/DestinationHolderImp.h +++ b/src/game/DestinationHolderImp.h @@ -104,8 +104,7 @@ DestinationHolder::UpdateTraveller(TRAVELLER &traveller, uint32 diff, float x,y,z; GetLocationNowNoMicroMovement(x, y, z); - if( x == -431602080 ) - return false; + if (traveller.GetTraveller().GetPositionX() != x || traveller.GetTraveller().GetPositionY() != y || traveller.GetTraveller().GetPositionZ() != z) { float ori = traveller.GetTraveller().GetAngle(x, y); @@ -131,9 +130,6 @@ DestinationHolder::UpdateTraveller(TRAVELLER &traveller, uint32 diff, else GetLocationNow(traveller.GetTraveller().GetBaseMap(), x, y, z, false); - if( x == -431602080 ) - return false; - if (traveller.GetTraveller().GetPositionX() != x || traveller.GetTraveller().GetPositionY() != y || traveller.GetTraveller().GetPositionZ() != z) { float ori = traveller.GetTraveller().GetAngle(x, y);