Core/Movement: minor correction on WaypointMovementGenerator

remove the CanMove check since it will never trigger
the timer is left there to prevent errors on loading such as leader being created before the other members of the formation making them skip the first movement; purely a workaround

(cherry picked from commit c7d565739b)
This commit is contained in:
ccrs
2017-09-03 23:10:24 +02:00
committed by Shauren
parent f27450d0e8
commit debe97b77a

View File

@@ -62,10 +62,7 @@ void WaypointMovementGenerator<Creature>::LoadPath(Creature* creature)
return;
}
_nextMoveTime.Reset(3000);
if (CanMove(creature))
StartMoveNow(creature);
_nextMoveTime.Reset(1000);
}
void WaypointMovementGenerator<Creature>::DoInitialize(Creature* creature)