From 944a1cec7315f482ee6de93c0ea18f97dc776042 Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 5 Feb 2009 22:55:43 -0600 Subject: [7229] Add area limitation checks for battleground/arena spells. Spell sorted by 2 list and map ids lists replaced by map type checking in patch. Author: GriffonHeart --HG-- branch : trunk --- src/game/BattleGround.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/BattleGround.cpp') diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp index 997c2dffb8b..9669f638fc3 100644 --- a/src/game/BattleGround.cpp +++ b/src/game/BattleGround.cpp @@ -976,7 +976,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 -- cgit v1.2.3