From 31e96989ea4b3c1e86edb5fe266f0e53d1640b78 Mon Sep 17 00:00:00 2001 From: p0wer Date: Mon, 28 Dec 2009 15:25:54 -0600 Subject: 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 --- src/game/SpellAuras.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index bbcf03da9c3..44be617f8b9 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -6679,8 +6679,9 @@ void AuraEffect::PeriodicDummyTick() } } break; - case 58600: // No fly Zone - Dalaran - if (10 == m_tickNumber) + case SPELL_RESTRICTED_FLIGHT_AREA_58730: // No Fly Zone - Wintergrasp + 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_FLY); -- cgit v1.2.3