[7229] Add area limitation checks for battleground/arena spells.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Spell sorted by 2 list and map ids lists replaced by map type checking in patch.
This commit is contained in:
GriffonHeart 2009-02-05 04:58:07 +03:00 committed by VladimirMangos
parent 160777848a
commit 6afcf1a1ef
3 changed files with 34 additions and 4 deletions

View file

@ -955,7 +955,7 @@ void BattleGround::AddPlayer(Player *plr)
}
(plr)->RemovePet(NULL,PET_SAVE_NOT_IN_SLOT);
}
else
else
(plr)->SetTemporaryUnsummonedPetNumber(0);
if(GetStatus() == STATUS_WAIT_JOIN) // not started yet