Correct the handling of r_viewsize and lineadj.

r_viewsize is meant to be clamped to 100, but not limit linadj.
This commit is contained in:
Bill Currie 2013-01-13 16:53:22 +09:00
parent 86b95629cf
commit 4a95f89760

View file

@ -118,11 +118,10 @@ R_SetVrect (vrect_t *vrectin, vrect_t *vrect, int lineadj)
int h;
// intermission is always full screen
if (r_viewsize >= 100 || vr_data.force_fullscreen /*FIXME: better test*/) {
size = min (r_viewsize, 100);
if (vr_data.force_fullscreen) {
size = 100.0;
lineadj = 0;
} else {
size = r_viewsize;
}
size /= 100.0;