mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +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
|
else
|
||||||
creature.Say(behavior->textid[0], 0, 0);
|
creature.Say(behavior->textid[0], 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
i_hasDone[idx] = true;
|
|
||||||
MovementInform(creature);
|
|
||||||
} // wpBehaviour found
|
} // wpBehaviour found
|
||||||
|
|
||||||
|
i_hasDone[idx] = true;
|
||||||
|
MovementInform(creature);
|
||||||
} // HasDone == false
|
} // HasDone == false
|
||||||
} // i_creature.IsStopped()
|
} // i_creature.IsStopped()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue