diff options
author | megamage <none@none> | 2009-09-04 09:36:38 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-09-04 09:36:38 -0500 |
commit | 596d1714d45a41befe7e5ebef17cac490b23e407 (patch) | |
tree | 183ca0acd986d8b294409072d3f0c46053989a83 /src/game/SpellMgr.cpp | |
parent | 370be1de8e89628562ee05c3dbb1ed8dec0abb60 (diff) |
*Fix a bug that druid's flight form is not removed after entering wintergrasp.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r-- | src/game/SpellMgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index c60b6d77aed..ed6dee6e210 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2725,7 +2725,8 @@ 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) + if(spellInfo->EffectApplyAuraName[i] == SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED + || spellInfo->EffectApplyAuraName[i] == SPELL_AURA_FLY) return SPELL_FAILED_INCORRECT_AREA; return SPELL_CAST_OK; |