forked from mirror/OpenTTD
(svn r2258) - Fix (regression): game crashes on resizing window. Windows is a bit too aggressive with its _assume(0), and it did not even belong there
This commit is contained in:
@@ -272,8 +272,6 @@ void IConsoleResize(void)
|
|||||||
_iconsole_win->height = _screen.height - ICON_BOTTOM_BORDERWIDTH;
|
_iconsole_win->height = _screen.height - ICON_BOTTOM_BORDERWIDTH;
|
||||||
_iconsole_win->width = _screen.width;
|
_iconsole_win->width = _screen.width;
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
NOT_REACHED();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MarkWholeScreenDirty();
|
MarkWholeScreenDirty();
|
||||||
|
Reference in New Issue
Block a user