Scripts/Onyxia's Lair: Fixed movement during flight phase and set proper InhabitType

Closes #10335
This commit is contained in:
keke222 authored and Shauren committed 2013-07-23 17:18:46 +02:00
1 parent ce79e3a078
commit e11714e948
2 files changed
+2 -1

No files matched your search

@@ -413,7 +413,7 @@ public:
}
break;
case EVENT_MOVEMENT: // Phase PHASE_BREATH
if (!IsMoving)
if (!IsMoving && !(me->HasUnitState(UNIT_STATE_CASTING)))
{
SetNextRandomPoint();
PointData = GetMoveData();