aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-11 14:00:10 -0700
committermaximius <none@none>2009-09-11 14:00:10 -0700
commitb387b440a63d0fde4b7406d5e298ac25eb8b0d91 (patch)
tree220d11faf309001b0b6d3c4f1c310fc753349d47
parentaf3a20823335cb29db47b996306a9ea8cefb011f (diff)
*[8465] Removed not needed checks. Author: apoc
--HG-- branch : trunk
-rw-r--r--src/game/DestinationHolderImp.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/game/DestinationHolderImp.h b/src/game/DestinationHolderImp.h
index 1fbc1c1ec67..226a90d9279 100644
--- a/src/game/DestinationHolderImp.h
+++ b/src/game/DestinationHolderImp.h
@@ -108,12 +108,7 @@ DestinationHolder<TRAVELLER>::UpdateTraveller(TRAVELLER &traveller, uint32 diff,
float x, y, z;
if (!micro_movement)
- {
GetLocationNowNoMicroMovement(x, y, z);
-
- if (x == -431602080)
- return false;
- }
else
{
if (!traveller.GetTraveller().hasUnitState(UNIT_STAT_MOVING | UNIT_STAT_IN_FLIGHT))
@@ -124,9 +119,6 @@ DestinationHolder<TRAVELLER>::UpdateTraveller(TRAVELLER &traveller, uint32 diff,
else
GetLocationNow(traveller.GetTraveller().GetBaseMap(), x, y, z, false);
- if (x == -431602080)
- return false;
-
// Change movement computation to micro movement based on last tick coords, this makes system work
// even on multiple floors zones without hugh vmaps usage ;)