From a12501fb5e6f827d905e0eeba5bc908f8279880a Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 30 Jul 2009 11:07:00 +0800 Subject: [PATCH] [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 --- src/game/ItemHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/ItemHandler.cpp b/src/game/ItemHandler.cpp index d886cda742..114393f428 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();