mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[11238] Add IsActive check in PointMovementGenerator, as with similar waypointmovement
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
fcb4eca715
commit
0ca45c76dc
2 changed files with 5 additions and 1 deletions
|
|
@ -86,6 +86,10 @@ bool PointMovementGenerator<T>::Update(T &unit, const uint32 &diff)
|
|||
{
|
||||
unit.clearUnitState(UNIT_STAT_ROAMING_MOVE);
|
||||
MovementInform(unit);
|
||||
|
||||
if (!IsActive(unit))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11237"
|
||||
#define REVISION_NR "11238"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue