diff options
-rw-r--r-- | src/game/SpellMgr.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index f92876f328e..01840cf5842 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2691,6 +2691,12 @@ SpellCastResult SpellMgr::GetSpellAllowedInLocationError(SpellEntry const *spell } } + // wintergrasp + if(zone_id == 4197) + for(uint32 i = 0; i < 3; ++i) + if(spellInfo->EffectApplyAuraName[i] == SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED) + return SPELL_FAILED_INCORRECT_AREA; + return SPELL_CAST_OK; } |