[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:
NoFantasy 2009-08-10 23:29:04 +02:00
parent 99f74411a0
commit b5c62ba9e5
2 changed files with 4 additions and 4 deletions

View file

@ -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()