mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7977] Fixed PointMovementGenerator to correctly set UNIT_STAT_MOVING on initialize.
This may fix problem with creatures moving after death in connection with AssistanceMovementGenerator Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
bfa94779b2
commit
ddf1525e40
2 changed files with 2 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ template<class T>
|
|||
void PointMovementGenerator<T>::Initialize(T &unit)
|
||||
{
|
||||
unit.StopMoving();
|
||||
owner.addUnitState(UNIT_STAT_MOVING);
|
||||
Traveller<T> traveller(unit);
|
||||
i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7976"
|
||||
#define REVISION_NR "7977"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue