aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGround.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-05 22:55:43 -0600
committermegamage <none@none>2009-02-05 22:55:43 -0600
commit944a1cec7315f482ee6de93c0ea18f97dc776042 (patch)
tree2db5f7e133a57232099444d2e76f9d3c9778a2bf /src/game/BattleGround.cpp
parente361e81b6f005ca10abf3538c38e3bb3f76f9bf3 (diff)
[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
Diffstat (limited to 'src/game/BattleGround.cpp')
-rw-r--r--src/game/BattleGround.cpp2
1 files changed, 1 insertions, 1 deletions
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