mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
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;
|
||||
return false;
|
||||
}
|
||||
else if (!unit.HasUnitState(UNIT_STAT_MOVE))
|
||||
{
|
||||
i_destinationHolder.StartTravel(traveller);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user