*Fix a crash where BankTab is between the number of purchased tabs and the max number of tabs, by Trazom. ref #68

--HG--
branch : trunk
This commit is contained in:
maximius
2009-11-05 03:24:34 -08:00
parent 50e900c976
commit 52fba363e3

View File

@@ -1118,6 +1118,9 @@ void WorldSession::HandleGuildBankSwapItems( WorldPacket & recv_data )
if(!pGuild)
return;
if (BankTab >= pGuild->GetPurchasedTabs())
return;
Player *pl = GetPlayer();
// Bank <-> Bank