Fixed code position

This commit is contained in:
pagefault
2001-06-12 02:23:44 +00:00
parent 598367432c
commit a724d93b57

View File

@@ -1585,7 +1585,7 @@ void initwinvideo(void)
if (Moving == 1) return;
if (FullScreen == 0 && PrevFull == 1)
if (FullScreen == 0 && PrevFull == 1 || newmode == 1)
{
PrevFull = 0;
ReleaseDirectDraw();
@@ -1593,7 +1593,7 @@ void initwinvideo(void)
return;
}
if (FullScreen == 1 && PrevFull != 1 || newmode == 1)
if (FullScreen == 1 && PrevFull != 1)
{
PrevFull = 1;
InitDirectDraw();