mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[8347] Call MovementInform when expected for waypoint movement generator.
Also set waypoint as done, regardless of empty node behavior or not. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
99f74411a0
commit
b5c62ba9e5
2 changed files with 4 additions and 4 deletions
|
|
@ -160,10 +160,10 @@ bool WaypointMovementGenerator<Creature>::Update(Creature &creature, const uint3
|
|||
else
|
||||
creature.Say(behavior->textid[0], 0, 0);
|
||||
}
|
||||
|
||||
i_hasDone[idx] = true;
|
||||
MovementInform(creature);
|
||||
} // wpBehaviour found
|
||||
|
||||
i_hasDone[idx] = true;
|
||||
MovementInform(creature);
|
||||
} // HasDone == false
|
||||
} // i_creature.IsStopped()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue