aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkeke222 <keke-222@hotmail.fr>2013-07-23 00:19:33 +0200
committerShauren <shauren.trinity@gmail.com>2013-07-23 17:18:46 +0200
commite11714e9488a958ff80a82dce7e41aa0b7b787b7 (patch)
tree5d42c6d703af3c901ada22a0d028ddaba5d06630 /src
parentce79e3a078e6617c7ca515ecf28fc671a5283b67 (diff)
Scripts/Onyxia's Lair: Fixed movement during flight phase and set proper InhabitType
Closes #10335
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp b/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp
index afcbf1f0046..0adc6190d4b 100644
--- a/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp
+++ b/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp
@@ -413,7 +413,7 @@ public:
}
break;
case EVENT_MOVEMENT: // Phase PHASE_BREATH
- if (!IsMoving)
+ if (!IsMoving && !(me->HasUnitState(UNIT_STATE_CASTING)))
{
SetNextRandomPoint();
PointData = GetMoveData();