diff options
| author | megamage <none@none> | 2009-07-30 11:07:00 +0800 |
|---|---|---|
| committer | megamage <none@none> | 2009-07-30 11:07:00 +0800 |
| commit | a12501fb5e6f827d905e0eeba5bc908f8279880a (patch) | |
| tree | 8b76a60078150713ccb8c6810cf052b54aa0a873 /src | |
| parent | e864cbed8ce49a41c7cee59a9387fd4f0391839b (diff) | |
[8244] Skip cheating check for buy bank slot opcode. Author: VladimirMangos
This is not big problem in any case and will allow buy slots
in bank windows open using .bank command.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/ItemHandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/ItemHandler.cpp b/src/game/ItemHandler.cpp index d886cda742b..114393f4287 100644 --- a/src/game/ItemHandler.cpp +++ b/src/game/ItemHandler.cpp @@ -862,12 +862,14 @@ void WorldSession::HandleBuyBankSlotOpcode(WorldPacket& recvPacket) recvPacket >> guid; // cheating protection + /* not critical if "cheated", and check skip allow by slots in bank windows open by .bank command. Creature *pCreature = GetPlayer()->GetNPCIfCanInteractWith(guid, UNIT_NPC_FLAG_BANKER); if(!pCreature) { sLog.outDebug( "WORLD: HandleBuyBankSlotOpcode - Unit (GUID: %u) not found or you can't interact with him.", uint32(GUID_LOPART(guid)) ); return; } + */ uint32 slot = _player->GetBankBagSlotCount(); |
