Bots will now look at teammates and jump sometimes while in freezetime. So they will not look like a "soldiers". Related to #94.
This commit is contained in:
parent
4b035819cb
commit
97c942ce3d
3 changed files with 34 additions and 2 deletions
|
|
@ -1111,6 +1111,7 @@ void Bot::newRound () {
|
|||
m_prevOrigin = Vector (kInfiniteDistance, kInfiniteDistance, kInfiniteDistance);
|
||||
m_prevTime = game.time ();
|
||||
m_lookUpdateTime = game.time ();
|
||||
m_changeViewTime = game.time () + (rg.chance (25) ? mp_freezetime.float_ () : 0.0f);
|
||||
m_aimErrorTime = game.time ();
|
||||
|
||||
m_viewDistance = 4096.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue