diff options
author | rubidium <rubidium@openttd.org> | 2010-10-27 20:52:43 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-10-27 20:52:43 +0000 |
commit | c311f18ba40f0cbe749f2881caf9998f76e5c006 (patch) | |
tree | 9e0463149368c6d0180a91c7129da8a1a64ab670 /src/console_cmds.cpp | |
parent | 6e9bafa54a501705e8cec2a34bd7f8a05a003477 (diff) | |
download | openttd-c311f18ba40f0cbe749f2881caf9998f76e5c006.tar.xz |
(svn r21050) -Fix (r20515): ignore underscores as well for help messages
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r-- | src/console_cmds.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 8f976b48f..89680fde5 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -1338,6 +1338,7 @@ DEF_CONSOLE_CMD(ConHelp) const IConsoleCmd *cmd; const IConsoleAlias *alias; + RemoveUnderscores(argv[1]); cmd = IConsoleCmdGet(argv[1]); if (cmd != NULL) { cmd->proc(0, NULL); |