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);