diff options
author | maximius <none@none> | 2009-11-05 03:24:34 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-05 03:24:34 -0800 |
commit | 52fba363e3e1de48073f2ec4ec92021994a79cbd (patch) | |
tree | 37127a55bf5e8a50bba50f2e924505fcd496308e /src/game/GuildHandler.cpp | |
parent | 50e900c976c87cb979782b0ebdbf8f1510e8a6ca (diff) |
*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
Diffstat (limited to 'src/game/GuildHandler.cpp')
-rw-r--r-- | src/game/GuildHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/GuildHandler.cpp b/src/game/GuildHandler.cpp index b46d3a43831..f15a75256ee 100644 --- a/src/game/GuildHandler.cpp +++ b/src/game/GuildHandler.cpp @@ -1118,6 +1118,9 @@ void WorldSession::HandleGuildBankSwapItems( WorldPacket & recv_data ) if(!pGuild) return; + if (BankTab >= pGuild->GetPurchasedTabs()) + return; + Player *pl = GetPlayer(); // Bank <-> Bank |