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:
parent
ccfbb5479d
commit
c298e607ae
4 changed files with 8 additions and 9 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue