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

Arrays are significantly faster.

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

No files matched your search

+1 -1
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;