From 88234b13e811fb20f687fb3fc350ec4c22f5dfb9 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 21 Oct 2000 00:12:09 +0000 Subject: [PATCH] the rest of scr_viewsize value -> int_val. didn't look closely enough at how size is used. no longer segs --- source/r_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/r_main.c b/source/r_main.c index 0687f02..b61d345 100644 --- a/source/r_main.c +++ b/source/r_main.c @@ -329,16 +329,16 @@ void R_SetVrect (vrect_t *pvrectin, vrect_t *pvrect, int lineadj) float size; qboolean full = false; - if (scr_viewsize->value >= 100.0) { - size = 100.0; + if (scr_viewsize->int_val >= 100) { + size = 100; full = true; } else { - size = scr_viewsize->value; + size = scr_viewsize->int_val; } if (cl.intermission) { full = true; - size = 100.0; + size = 100; lineadj = 0; } size /= 100;