mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[7761] GuildBankTabPrice vector is replaced by an array.
Arrays are significantly faster. Signed-off-by: AlexDereka <dereka.alex@gmail.com>
This commit is contained in:
parent
c9eb417515
commit
20ffd7f421
6 changed files with 11 additions and 16 deletions
|
|
@ -1573,7 +1573,7 @@ void WorldSession::HandleGuildBankBuyTab( WorldPacket & recv_data )
|
|||
if(!pGuild)
|
||||
return;
|
||||
|
||||
uint32 TabCost = objmgr.GetGuildBankTabPrice(TabId) * GOLD;
|
||||
uint32 TabCost = GetGuildBankTabPrice(TabId) * GOLD;
|
||||
if (!TabCost)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue