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

@ -152,7 +152,7 @@ public:
return m_lastWinner;
}
int32_t getBotCount () {
int32_t getBotCount () const {
return m_bots.length <int32_t> ();
}
@ -197,7 +197,7 @@ public:
m_botsCanPause = pause;
}
bool hasBombSay (int type) {
bool hasBombSay (int type) const {
return (m_bombSayStatus & type) == type;
}
@ -243,7 +243,7 @@ public:
}
// some bots are online ?
bool hasBotsOnline () {
bool hasBotsOnline () const {
return getBotCount () > 0;
}