mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01: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