diff options
author | Treeston <treeston.mmoc@gmail.com> | 2016-02-10 17:23:43 +0100 |
---|---|---|
committer | Treeston <treeston.mmoc@gmail.com> | 2016-02-10 17:23:43 +0100 |
commit | 2c437ff8ec16ebde792c8bc2af65454bb2e0295d (patch) | |
tree | 531ab43fa6990b3c735b86390782873faac63a48 /src/server/game/AI/CreatureAI.cpp | |
parent | 7299c519b0c0cb15bb0677b320266e669040d39f (diff) | |
parent | 19ed18c8816e9bd495dcc03eb0e208006a17bab0 (diff) |
Merge pull request #16491 from Treeston/3.3.5-boundarycheck
[3.3.5] Add target boundary check to BossAI CanCreatureAttack call
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 c254a9124c1..44098586e5f 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -350,7 +350,7 @@ int32 CreatureAI::VisualizeBoundary(uint32 duration, Unit* owner, bool fill) con return boundsWarning ? LANG_CREATURE_MOVEMENT_MAYBE_UNBOUNDED : 0; } -bool CreatureAI::CheckBoundary(Position* who) const +bool CreatureAI::CheckBoundary(Position const* who) const { if (!who) who = me; |