Made default resolution 640x480 instead of 640x400

This commit is contained in:
cholleme 2003-06-29 21:37:59 +00:00
parent 7bd961ef6d
commit 352ad7046e

View file

@ -1449,8 +1449,18 @@ void VID_Init (unsigned char *palette)
break;
}
}
}
else
//User specified nothing try to find the 640 * 480 mode
} else if (!COM_CheckParm("-height")) {
for (i=1, vid_default=0 ; i<nummodes ; i++)
{
if ((modelist[i].width == width) && (modelist[i].bpp == bpp) && (modelist[i].height = 480))
{
vid_default = i;
done = 1;
break;
}
}
} else
{
for (i=1, vid_default=0 ; i<nummodes ; i++)
{