mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
Updated to latest PTR client build 9868.
This commit is contained in:
parent
966e12a9cd
commit
7e938af972
29 changed files with 172 additions and 121 deletions
|
|
@ -27,7 +27,7 @@
|
|||
void
|
||||
HomeMovementGenerator<Creature>::Initialize(Creature & owner)
|
||||
{
|
||||
owner.RemoveUnitMovementFlag(MONSTER_MOVE_FLAG_WALK);
|
||||
owner.RemoveUnitMovementFlag(MONSTER_MOVE_WALK);
|
||||
_setTargetLocation(owner);
|
||||
}
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ HomeMovementGenerator<Creature>::Update(Creature &owner, const uint32& time_diff
|
|||
|
||||
if (time_diff > i_travel_timer)
|
||||
{
|
||||
owner.AddUnitMovementFlag(MONSTER_MOVE_FLAG_WALK);
|
||||
owner.AddUnitMovementFlag(MONSTER_MOVE_WALK);
|
||||
|
||||
// restore orientation of not moving creature at returning to home
|
||||
if(owner.GetDefaultMovementType()==IDLE_MOTION_TYPE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue