Core/Movement: Fix Point Movement after a stun/root. The NPC should now correctly start moving again.
This commit is contained in:
@@ -58,6 +58,10 @@ bool PointMovementGenerator<T>::Update(T &unit, const uint32 diff)
|
|||||||
arrived = true;
|
arrived = true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
else if (!unit.HasUnitState(UNIT_STAT_MOVE))
|
||||||
|
{
|
||||||
|
i_destinationHolder.StartTravel(traveller);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user