mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-18 20:19:11 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user