CON showview/showviewunbiased: silently clamp 'horiz' to HORIZ_MIN..HORIZ_MAX.

git-svn-id: https://svn.eduke32.com/eduke32@2575 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-03-31 11:22:32 +00:00
parent 34c0e85295
commit 015affaa27

View file

@ -2364,6 +2364,8 @@ nullquote:
continue; continue;
} }
horiz = clamp(horiz, HORIZ_MIN, HORIZ_MAX);
#ifdef USE_OPENGL #ifdef USE_OPENGL
oprojhacks = glprojectionhacks; oprojhacks = glprojectionhacks;
glprojectionhacks = 0; glprojectionhacks = 0;