Core/Movement: Fix Point Movement after a stun/root. The NPC should now correctly start moving again.

This commit is contained in:
Liberate
2011-10-17 03:06:35 +02:00
parent a56f89ab1b
commit 04bb2f4a17

View File

@@ -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;
}