cinematics: minor rewriting of cin_force43 behaviour

This commit is contained in:
svdijk 2013-04-24 20:33:12 +02:00
parent 695e0a9a16
commit 082c2d454f

View file

@ -530,9 +530,14 @@ SCR_DrawCinematic(void)
if (cin_force43->value)
{
w = (w = viddef.height * 4 / 3) > viddef.width ? viddef.width : w;
w = viddef.height * 4 / 3;
if (w > viddef.width)
{
w = viddef.width;
}
w &= ~3;
h = w * 3 / 4;
x = (viddef.width - w) / 2;
h = (h = viddef.width * 3 / 4) > viddef.height ? viddef.height : h;
y = (viddef.height - h) / 2;
}
else