diff options
| author | ariel- <ariel-@users.noreply.github.com> | 2017-04-26 04:19:01 -0300 |
|---|---|---|
| committer | funjoker <funjoker109@gmail.com> | 2020-04-28 14:07:43 +0200 |
| commit | f3a49059acb7b19ef95ebb7f6fe6887a123cd1c9 (patch) | |
| tree | 2fd180c2a22465c5d5b921d7c9184ca615dd63bb /src/server/scripts/Northrend | |
| parent | bb3f2a11cfa909a0b40450050f33a3893f6bb061 (diff) | |
Core/AI: some tweaks on boundary functionality:
- Moved SetBoundary to public scope to allow for greater flexibility (ie set from external script)
- Extended to allow checking inverted boundaries
(cherry picked from commit 6892404b270f57380ffdc9ad084e0f43d94134e0)
Diffstat (limited to 'src/server/scripts/Northrend')
| -rw-r--r-- | src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp index 9112fd9ccd2..37aa313b662 100644 --- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp @@ -499,7 +499,7 @@ class npc_anubarak_anub_ar_assassin : public CreatureScript Position jumpTo; do jumpTo = GetRandomPositionAround(anubarak); - while (!CreatureAI::IsInBounds(boundary, &jumpTo)); + while (!CreatureAI::IsInBounds(*boundary, &jumpTo)); me->GetMotionMaster()->MoveJump(jumpTo, 40.0f, 40.0f); DoCastSelf(SPELL_ASSASSIN_VISUAL, true); } |
