mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +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
|
|
@ -123,14 +123,6 @@ ObjectMgr::ObjectMgr()
|
|||
m_arenaTeamId = 1;
|
||||
m_auctionid = 1;
|
||||
|
||||
mGuildBankTabPrice.resize(GUILD_BANK_MAX_TABS);
|
||||
mGuildBankTabPrice[0] = 100;
|
||||
mGuildBankTabPrice[1] = 250;
|
||||
mGuildBankTabPrice[2] = 500;
|
||||
mGuildBankTabPrice[3] = 1000;
|
||||
mGuildBankTabPrice[4] = 2500;
|
||||
mGuildBankTabPrice[5] = 5000;
|
||||
|
||||
// Only zero condition left, others will be added while loading DB tables
|
||||
mConditions.resize(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue