bot: add fakeclient bit _every_ frame.
This commit is contained in:
parent
b8d35840b3
commit
dc8ded3cf7
1 changed files with 2 additions and 2 deletions
|
|
@ -2906,6 +2906,8 @@ void Bot::checkParachute () {
|
|||
}
|
||||
|
||||
void Bot::frame () {
|
||||
pev->flags |= FL_FAKECLIENT; // restore fake client bit
|
||||
|
||||
if (m_updateTime <= game.time ()) {
|
||||
update ();
|
||||
}
|
||||
|
|
@ -2947,8 +2949,6 @@ void Bot::frame () {
|
|||
}
|
||||
|
||||
void Bot::update () {
|
||||
pev->flags |= FL_FAKECLIENT; // restore fake client bit
|
||||
|
||||
pev->button = 0;
|
||||
|
||||
m_moveSpeed = 0.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue