summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 7d356e88..5ae5320f 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -2524,7 +2524,7 @@ void Cmd_Follow_f( gentity_t *ent, qboolean toggle )
return;
// can't follow another spectator
- if( ent->client->pers.teamSelection != PTE_NONE )
+ if( level.clients[ i ].pers.teamSelection == PTE_NONE )
return;
ent->client->sess.spectatorState = SPECTATOR_FOLLOW;