Fix Wintergrasp no fly zone to remove your mount instead of just giving a parachute but not dismounting you.

Also switch around the condition inside the if statement to fit the standard.

--HG--
branch : trunk
This commit is contained in:
p0wer
2009-12-28 15:25:54 -06:00
parent a5f681fe9e
commit 31e96989ea
+3 -2
View File
@@ -6679,8 +6679,9 @@ void AuraEffect::PeriodicDummyTick()
} }
} }
break; break;
case 58600: // No fly Zone - Dalaran case SPELL_RESTRICTED_FLIGHT_AREA_58730: // No Fly Zone - Wintergrasp
if (10 == m_tickNumber) case SPELL_RESTRICTED_FLIGHT_AREA_58600: // No fly Zone - Dalaran
if (m_tickNumber == 10)
{ {
m_target->RemoveAurasByType(SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED); m_target->RemoveAurasByType(SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED);
m_target->RemoveAurasByType(SPELL_AURA_FLY); m_target->RemoveAurasByType(SPELL_AURA_FLY);