mirror of
https://git.code.sf.net/p/quake/nuq
synced 2025-02-16 17:11:21 +00:00
the rest of scr_viewsize value -> int_val. didn't look closely enough at how
size is used. no longer segs
This commit is contained in:
parent
e698713185
commit
88234b13e8
1 changed files with 4 additions and 4 deletions
|
@ -329,16 +329,16 @@ void R_SetVrect (vrect_t *pvrectin, vrect_t *pvrect, int lineadj)
|
||||||
float size;
|
float size;
|
||||||
qboolean full = false;
|
qboolean full = false;
|
||||||
|
|
||||||
if (scr_viewsize->value >= 100.0) {
|
if (scr_viewsize->int_val >= 100) {
|
||||||
size = 100.0;
|
size = 100;
|
||||||
full = true;
|
full = true;
|
||||||
} else {
|
} else {
|
||||||
size = scr_viewsize->value;
|
size = scr_viewsize->int_val;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cl.intermission) {
|
if (cl.intermission) {
|
||||||
full = true;
|
full = true;
|
||||||
size = 100.0;
|
size = 100;
|
||||||
lineadj = 0;
|
lineadj = 0;
|
||||||
}
|
}
|
||||||
size /= 100;
|
size /= 100;
|
||||||
|
|
Loading…
Reference in a new issue