(svn r2955) Fix: make ottd start with the last resolution you had set (custom) (win32)

This commit is contained in:
Darkvater
2005-09-15 22:42:59 +00:00
parent 3926d006b0
commit 80e2126cc6
2 changed files with 2 additions and 2 deletions

View File

@@ -2478,6 +2478,8 @@ void ShowVitalWindows(void)
void GameSizeChanged(void)
{
_cur_resolution[0] = _screen.width;
_cur_resolution[1] = _screen.height;
RelocateAllWindows(_screen.width, _screen.height);
ScreenSizeChanged();
MarkWholeScreenDirty();