diff options
author | glx <glx@openttd.org> | 2020-02-01 22:08:05 +0100 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2020-02-04 18:41:38 +0100 |
commit | b5d56559d2ec16512dd8a0346406bf36486ebf7c (patch) | |
tree | ad89844fbe079adb149c307634c0d83f2d4d2217 /src/console_func.h | |
parent | ac7cc18ab9f5a06ac0261a69dc96a28e3f1136af (diff) | |
download | openttd-b5d56559d2ec16512dd8a0346406bf36486ebf7c.tar.xz |
Fix #7969: limit recursion during alias execution
Diffstat (limited to 'src/console_func.h')
-rw-r--r-- | src/console_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_func.h b/src/console_func.h index 1dad477b8..6d634a455 100644 --- a/src/console_func.h +++ b/src/console_func.h @@ -28,7 +28,7 @@ void IConsoleWarning(const char *string); void IConsoleError(const char *string); /* Parser */ -void IConsoleCmdExec(const char *cmdstr); +void IConsoleCmdExec(const char *cmdstr, const uint recurse_count = 0); bool IsValidConsoleColour(TextColour c); |