Less undefined operations.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2829 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2007-12-27 15:31:27 +00:00
parent 868ef2aa33
commit ac82538714

View file

@ -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