[7761] GuildBankTabPrice vector is replaced by an array. Author: zhenya
Arrays are significantly faster. --HG-- branch : trunk
This commit is contained in:
1 parent
0ad353f147
commit
92e393deb8
5 files changed
+18
-15
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user