fixed variable collisions

fixed active grenade timer running too fast
fixed reacting on sound function setting pvs instead of pas
This commit is contained in:
jeefo 2016-03-25 14:56:40 +03:00
commit da1b5c2ff9
7 changed files with 42 additions and 32 deletions

View file

@ -2257,8 +2257,9 @@ void StartFrame (void)
}
g_timePerSecondUpdate = engine.Time () + 1.0f;
}
else if (g_timePerSecondUpdate * 0.5f < engine.Time ())
bots.UpdateActiveGrenades ();
// keep track of grenades on map
bots.UpdateActiveGrenades ();
// keep bot number up to date
bots.MaintainBotQuota ();