[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 else
creature.Say(behavior->textid[0], 0, 0); creature.Say(behavior->textid[0], 0, 0);
} }
} // wpBehaviour found
i_hasDone[idx] = true; i_hasDone[idx] = true;
MovementInform(creature); MovementInform(creature);
} // wpBehaviour found
} // HasDone == false } // HasDone == false
} // i_creature.IsStopped() } // i_creature.IsStopped()

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8346" #define REVISION_NR "8347"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__