mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 12:41:21 +00:00
cinematics: minor rewriting of cin_force43 behaviour
This commit is contained in:
parent
695e0a9a16
commit
082c2d454f
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue