[7761] GuildBankTabPrice vector is replaced by an array. Author: zhenya

Arrays are significantly faster.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-04 17:32:39 -05:00
parent 0ad353f147
commit 92e393deb8
5 changed files with 18 additions and 15 deletions

View File

@@ -1574,7 +1574,7 @@ void WorldSession::HandleGuildBankBuyTab( WorldPacket & recv_data )
if(!pGuild)
return;
uint32 TabCost = objmgr.GetGuildBankTabPrice(TabId) * GOLD;
uint32 TabCost = GetGuildBankTabPrice(TabId) * GOLD;
if (!TabCost)
return;