mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands
This commit is contained in:
parent
a1e27b1606
commit
ad6b37a423
@ -272,6 +272,7 @@ void IConsoleResize(void)
|
||||
_iconsole_win->height = _screen.height - ICON_BOTTOM_BORDERWIDTH;
|
||||
_iconsole_win->width = _screen.width;
|
||||
break;
|
||||
default: break;
|
||||
}
|
||||
|
||||
MarkWholeScreenDirty();
|
||||
|
@ -872,7 +872,7 @@ DEF_CONSOLE_CMD(ConHelp)
|
||||
|
||||
var = IConsoleVarGet(argv[1]);
|
||||
if (var != NULL && var->help != NULL) {
|
||||
IConsolePrintF(_iconsole_color_warning, "%s.", var->help);
|
||||
IConsoleHelp(var->help);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user