Minor refactoring.
This commit is contained in:
parent
54516190b0
commit
d7ee3ae35a
2 changed files with 6 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue