From f6b01d22c50ad6434493e4fec516477f4c9281be Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Wed, 4 Mar 2020 17:29:45 +0000 Subject: remove else statements in auto-team select for .NOALIENS and .NOHUMANS --- src/game/g_cmds.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 6846a16..1448e12 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -908,13 +908,9 @@ void Cmd_Team_f( gentity_t *ent ) if( G_admin_permission( ent, ADMF_NO_ALIENS ) ) team = PTE_HUMANS; - else - team = PTE_ALIENS; if( G_admin_permission( ent, ADMF_NO_HUMANS ) ) team = PTE_ALIENS; - else - team = PTE_HUMANS; } else { -- cgit