mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[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:
parent
160777848a
commit
6afcf1a1ef
3 changed files with 34 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue