mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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:
parent
868ef2aa33
commit
ac82538714
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue