diff options
author | p0wer <none@none> | 2009-12-28 15:25:54 -0600 |
---|---|---|
committer | p0wer <none@none> | 2009-12-28 15:25:54 -0600 |
commit | 31e96989ea4b3c1e86edb5fe266f0e53d1640b78 (patch) | |
tree | 6564b59a3f464411e06e162112cd4c72074594a9 /src | |
parent | a5f681fe9e0195b32bf1c7901901df2477e2794c (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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); |