fix: quota maintain time is resetted on changelevel.
fix: crash without metamod after few map changes. fix: move sprites precache into the correct place. fix: move initialization stuff to post-ServerActivate.
This commit is contained in:
parent
cec833cb99
commit
17b9200195
4 changed files with 44 additions and 47 deletions
|
|
@ -54,6 +54,8 @@ BotManager::BotManager () {
|
|||
m_timeRoundEnd = 0.0f;
|
||||
|
||||
m_autoKillCheckTime = 0.0f;
|
||||
m_maintainTime = 0.0f;
|
||||
m_quotaMaintainTime = 0.0f;
|
||||
|
||||
m_bombPlanted = false;
|
||||
m_botsCanPause = false;
|
||||
|
|
@ -470,8 +472,6 @@ void BotManager::maintainAutoKill () {
|
|||
}
|
||||
|
||||
void BotManager::reset () {
|
||||
m_maintainTime = 0.0f;
|
||||
m_quotaMaintainTime = 0.0f;
|
||||
m_grenadeUpdateTime = 0.0f;
|
||||
m_entityUpdateTime = 0.0f;
|
||||
m_plantSearchUpdateTime = 0.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue