diff --git a/fteqtv/rcon.c b/fteqtv/rcon.c index 6acddcfc1..821ef9fa7 100644 --- a/fteqtv/rcon.c +++ b/fteqtv/rcon.c @@ -1094,7 +1094,7 @@ void Cmd_Commands(cmdctxt_t *ctx) consolecommand_t lastfunc = NULL; Cmd_Printf(ctx, "Commands:\n"); - for (cmd = rconcommands; cmd->name; cmd = cmd++) + for (cmd = rconcommands; cmd->name; cmd++) { if (cmd->func == lastfunc) continue; //no spamming alternative command names