fix: do not update fakeclient bit on every frame

cfg: allow bots to have name with at least one character
This commit is contained in:
jeefo 2024-02-19 23:16:03 +03:00
commit c298e607ae
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
4 changed files with 8 additions and 9 deletions

View file

@ -2832,8 +2832,6 @@ void Bot::checkParachute () {
}
void Bot::frame () {
pev->flags |= FL_FAKECLIENT; // restore fake client bit
if (m_updateTime <= game.time ()) {
update ();
}