[6863] Arena team related clean ups and adding parts of w12x's arena patch.

This commit is contained in:
hunuza 2008-11-18 11:41:55 +01:00
parent 7ea5f922ea
commit e19433fa73
6 changed files with 143 additions and 93 deletions

View file

@ -655,6 +655,10 @@ void WorldSession::HandleCorpseReclaimOpcode(WorldPacket &recv_data)
if (GetPlayer()->isAlive())
return;
// do not allow corpse reclaim in arena
if (GetPlayer()->InArena())
return;
// body not released yet
if(!GetPlayer()->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST))
return;