summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-03-04 17:29:45 +0000
committerIronClawTrem <louie.nutman@gmail.com>2020-03-04 17:29:45 +0000
commitf6b01d22c50ad6434493e4fec516477f4c9281be (patch)
treed504e4679776a53254b60b9bed22f3bf5ec7d820 /src/game
parent14acd967263303905383eea5fadc5ff8b49b7eb1 (diff)
remove else statements in auto-team select for .NOALIENS and .NOHUMANS
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_cmds.c4
1 files changed, 0 insertions, 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
{