- fixed: r_visibility values >= 205 appear to cause fixed point overflows at least on 5:4 aspect ratio so they should be blocked.

This commit is contained in:
Christoph Oelckers 2015-11-27 10:44:37 +01:00
parent fca469b053
commit 7e87216878
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ void R_InitTextureMapping ()
void R_SetVisibility (float vis) void R_SetVisibility (float vis)
{ {
// Allow negative visibilities, just for novelty's sake // Allow negative visibilities, just for novelty's sake
//vis = clamp (vis, -204.7f, 204.7f); vis = clamp (vis, -204.7f, 204.7f); // (205 and larger do not work in 5:4 aspect ratio)
CurrentVisibility = vis; CurrentVisibility = vis;