Minor refactoring.

This commit is contained in:
jeefo 2019-12-01 23:42:31 +03:00
commit d7ee3ae35a
2 changed files with 6 additions and 9 deletions

View file

@ -116,7 +116,6 @@ private:
int m_spawnCount[Team::Unassigned];
// bot client command
bool m_isBotCommand;
StringArray m_botArgs;
edict_t *m_startEntity;
@ -224,7 +223,7 @@ public:
// get the fakeclient command interface
bool isBotCmd () const {
return m_isBotCommand;
return !m_botArgs.empty ();
}
// gets custom engine args for client command