*[8465] Removed not needed checks. Author: apoc
--HG-- branch : trunk
This commit is contained in:
@@ -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 ;)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user