Cleanup bot code
This commit is contained in:
@@ -480,11 +480,7 @@ bool IsInGame(dynent *d)
|
||||
{
|
||||
loopv(players)
|
||||
{
|
||||
#ifdef VANILLA_CUBE
|
||||
if (!players[i] || (players[i]->state == CS_DEDHOST)) continue;
|
||||
#elif defined(AC_CUBE)
|
||||
if (!players[i]) continue;
|
||||
#endif
|
||||
if (players[i] == d)
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user