summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-10-27 20:52:43 +0000
committerrubidium <rubidium@openttd.org>2010-10-27 20:52:43 +0000
commitc311f18ba40f0cbe749f2881caf9998f76e5c006 (patch)
tree9e0463149368c6d0180a91c7129da8a1a64ab670 /src/console_cmds.cpp
parent6e9bafa54a501705e8cec2a34bd7f8a05a003477 (diff)
downloadopenttd-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.cpp1
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);