From c5de1709c4f2691713d2838f818555bfea46e3b0 Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Sat, 3 Mar 2007 02:37:18 +0000 Subject: * (bug 2924) fix check for spectator following another spectator (M. Kristall) --- src/game/g_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit