aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-17 16:34:02 -0500
committermegamage <none@none>2009-08-17 16:34:02 -0500
commitd205ff9e0675f181f7c7a34a517e5dc3b75ff5ea (patch)
tree8e5306bc16f341e5a5364538465bd4828f15cbf9 /src/game/SpellMgr.cpp
parentd118ef5d08947ece90aab1a8281dd065f5a01793 (diff)
[8377] Resolve some spell_area problems in GM and non-GM mode. Author: VladimirMangos
* Make spell 40216 and 42016 casted/remove at aura 40214 apply/remove. And drop related spell_area possible existed data. * In general restore apply area limitations to spell casting in GM mode. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r--src/game/SpellMgr.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 9e5a2aecab6..a080716b9c6 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2585,10 +2585,6 @@ void SpellMgr::LoadSpellAreas()
SpellCastResult SpellMgr::GetSpellAllowedInLocationError(SpellEntry const *spellInfo, uint32 map_id, uint32 zone_id, uint32 area_id, Player const* player)
{
- // allow in GM-mode
- if (player && player->isGameMaster())
- return SPELL_CAST_OK;
-
// normal case
if (spellInfo->AreaGroupId > 0)
{