diff options
author | Teleqraph <nyrdeveloper@gmail.com> | 2023-07-20 19:09:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-20 19:09:27 +0200 |
commit | 88ff97c1f96381565c47f8ca1993bdc7fce19fd6 (patch) | |
tree | e2b89eb2da0a1a01e8f4eef0a37328e997cb344c /src/server/game/AI/CreatureAI.cpp | |
parent | d4112334142f85addcf784bf3b4fb3b04773f1cd (diff) |
Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE (#29159)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
-rw-r--r-- | src/server/game/AI/CreatureAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index f88e8f1546b..c63e3c21ee1 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -398,7 +398,7 @@ int32 CreatureAI::VisualizeBoundary(Seconds duration, Unit* owner, bool fill) co point->SetUnitFlag(UNIT_FLAG_STUNNED); point->SetImmuneToAll(true); if (!hasOutOfBoundsNeighbor) - point->SetUnitFlag(UNIT_FLAG_UNINTERACTIBLE); + point->SetUninteractible(true); } } |