mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10533] Revert [10528], simply wrong (scriptId already called properly)
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
c2742dccc3
commit
3b35153b7d
2 changed files with 1 additions and 8 deletions
|
|
@ -82,13 +82,6 @@ void WaypointMovementGenerator<Creature>::LoadPath(Creature &creature)
|
|||
creature.AddSplineFlag(SPLINEFLAG_UNKNOWN7);
|
||||
|
||||
const WaypointNode &node = i_path->at(i_currentNode);
|
||||
|
||||
if (node.script_id)
|
||||
{
|
||||
DEBUG_FILTER_LOG(LOG_FILTER_AI_AND_MOVEGENSS, "Creature movement start script %u at point %u for creature %u (entry %u).", i_path->at(i_currentNode).script_id, i_currentNode, creature.GetDBTableGUIDLow(), creature.GetEntry());
|
||||
creature.GetMap()->ScriptsStart(sCreatureMovementScripts, node.script_id, &creature, &creature);
|
||||
}
|
||||
|
||||
i_destinationHolder.SetDestination(traveller, node.x, node.y, node.z);
|
||||
i_nextMoveTime.Reset(i_destinationHolder.GetTotalTravelTime());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue