fix: wrong data type for flash level (flashbat message)

This commit is contained in:
dmitry 2022-04-14 12:36:23 +03:00
commit af992c374c
No known key found for this signature in database
GPG key ID: 8297CE728B7A7E37
4 changed files with 8 additions and 7 deletions

View file

@ -1354,7 +1354,7 @@ void Bot::newRound () {
m_currentWeapon = 0;
m_weaponType = 0;
}
m_flashLevel = 100.0f;
m_flashLevel = 100;
m_checkDarkTime = game.time ();
m_knifeAttackTime = game.time () + rg.get (1.3f, 2.6f);