mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[10627] Use ObjectGuid for player's selection and unit's target
This commit is contained in:
parent
e74d56f9d2
commit
c955941b55
21 changed files with 66 additions and 73 deletions
|
|
@ -311,7 +311,7 @@ void
|
|||
FleeingMovementGenerator<Creature>::_Init(Creature &owner)
|
||||
{
|
||||
owner.RemoveSplineFlag(SPLINEFLAG_WALKMODE);
|
||||
owner.SetTargetGUID(0);
|
||||
owner.SetTargetGuid(ObjectGuid());
|
||||
is_water_ok = owner.CanSwim();
|
||||
is_land_ok = owner.CanWalk();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue