forked from mirror/OpenTTD
(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions
This commit is contained in:
@@ -446,8 +446,8 @@ void ShowVitalWindows()
|
||||
*/
|
||||
void GameSizeChanged()
|
||||
{
|
||||
_cur_resolution[0] = _screen.width;
|
||||
_cur_resolution[1] = _screen.height;
|
||||
_cur_resolution.width = _screen.width;
|
||||
_cur_resolution.height = _screen.height;
|
||||
ScreenSizeChanged();
|
||||
RelocateAllWindows(_screen.width, _screen.height);
|
||||
MarkWholeScreenDirty();
|
||||
|
Reference in New Issue
Block a user