mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-16 04:49:38 -04:00
[7761] GuildBankTabPrice vector is replaced by an array. Author: zhenya
Arrays are significantly faster. --HG-- branch : trunk
This commit is contained in:
@@ -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