aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-15 17:16:11 -0600
committermegamage <none@none>2009-03-15 17:16:11 -0600
commit1a8528b3dbd448a89d6f518ea22d823d67d4a187 (patch)
tree619829ae5a3aa0df5b703972665894b2cbd426bf /src/game/Player.cpp
parent681d1d171e2ec2e2e61e4447eeb580845288d82a (diff)
[7460] Fixed possible cheating in rated arena by ressurection after relog. Author: Triply
Fix: Do not allow to remove insignia from players in arena! Fixed ending arena match when last player of team logs out. --HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 9129aabf835..2fdf78e4a11 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -4137,7 +4137,7 @@ void Player::CreateCorpse()
flags |= CORPSE_FLAG_HIDE_HELM;
if(HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_HIDE_CLOAK))
flags |= CORPSE_FLAG_HIDE_CLOAK;
- if(InBattleGround())
+ if(InBattleGround() && !InArena())
flags |= CORPSE_FLAG_LOOTABLE; // to be able to remove insignia
corpse->SetUInt32Value( CORPSE_FIELD_FLAGS, flags );