Implemented flashligr and nightvision goggles usage.
Credits for this mostly goes to Immortal_BLG and KWo.
This commit is contained in:
parent
fbd42b92d1
commit
61b2566373
7 changed files with 149 additions and 29 deletions
|
|
@ -1191,6 +1191,8 @@ void Bot::newRound (void) {
|
|||
|
||||
m_currentWeapon = 0;
|
||||
}
|
||||
m_flashLevel = 100.0f;
|
||||
m_checkDarkTime = engine.timebase ();
|
||||
|
||||
m_knifeAttackTime = engine.timebase () + rng.getFloat (1.3f, 2.6f);
|
||||
m_nextBuyTime = engine.timebase () + rng.getFloat (0.6f, 2.0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue