mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-30 10:54:40 +00:00
(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:
parent
b22ebeda61
commit
a1e27b1606
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user