mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
*Fix a bug that druid's flight form is not removed after entering wintergrasp.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user