diff --git a/codemp/game/g_cmds.c b/codemp/game/g_cmds.c index b10b598..f7e91b8 100644 --- a/codemp/game/g_cmds.c +++ b/codemp/game/g_cmds.c @@ -1526,6 +1526,16 @@ void Cmd_FollowCycle_f( gentity_t *ent, int dir ) { G_Error( "Cmd_FollowCycle_f: bad dir %i", dir ); } + // if dedicated follow client, just switch between the two auto clients + if (ent->client->sess.spectatorClient < 0) { + if (ent->client->sess.spectatorClient == -1) { + ent->client->sess.spectatorClient = -2; + } else if (ent->client->sess.spectatorClient == -2) { + ent->client->sess.spectatorClient = -1; + } + return; + } + clientnum = ent->client->sess.spectatorClient; original = clientnum; do {