[10635] Convert many opcode handlers to ObjectGuid use.

Also re-enabled anticheating check for bank window open
base at .bank command access rights.
This commit is contained in:
VladimirMangos 2010-10-21 06:38:24 +04:00
parent 0901a4c2ac
commit 851e15c70a
26 changed files with 322 additions and 326 deletions

View file

@ -264,11 +264,11 @@ void WorldSession::HandleLootOpcode( WorldPacket & recv_data )
{
DEBUG_LOG("WORLD: CMSG_LOOT");
uint64 guid;
ObjectGuid guid;
recv_data >> guid;
// Check possible cheat
if(!_player->isAlive())
if (!_player->isAlive())
return;
GetPlayer()->SendLoot(guid, LOOT_CORPSE);