aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-16 13:01:36 -0700
committermaximius <none@none>2009-10-16 13:01:36 -0700
commitad8aed5c0c385a5c4c9358598e13f602d752ccbd (patch)
tree1b938879bbf8be5428041baf9e0ced514ebbe16d /src
parent019234148a1c06965628780bd2940d6dfebc6615 (diff)
*Allow Wintergrasp Spirit Healers to cast their spell, by manuel
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index c1b78ebc7ab..ef42f0d50ac 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2687,7 +2687,7 @@ SpellCastResult SpellMgr::GetSpellAllowedInLocationError(SpellEntry const *spell
if (!mapEntry)
return SPELL_FAILED_INCORRECT_AREA;
- return mapEntry->IsBattleGround() && player && player->InBattleGround() ? SPELL_CAST_OK : SPELL_FAILED_REQUIRES_AREA;
+ return zone_id == 4197 || mapEntry->IsBattleGround() && player && player->InBattleGround() ? SPELL_CAST_OK : SPELL_FAILED_REQUIRES_AREA;
}
case 44521: // Preparation
{