[8377] Resolve some spell_area problems in GM and non-GM mode.

* 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.
This commit is contained in:
VladimirMangos 2009-08-17 00:37:31 +04:00
parent e7b63e759f
commit c26c7395a1
6 changed files with 22 additions and 6 deletions

View file

@ -2666,10 +2666,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)
{