Skip to content

Commit

Permalink
Fix fog image
Browse files Browse the repository at this point in the history
Fixes a regression introduced in 7e7cb4f.
  • Loading branch information
VReaperV committed Sep 21, 2024
1 parent 2ee569b commit 4e2df0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/renderer/tr_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2224,7 +2224,7 @@ float R_FogFactor( float s, float t )
return 0;
}

if ( t < 31.0f / 320.0f )
if ( t < 31.0f / 32.0f )
{
s *= ( t - 1.0f / 32.0f ) / ( 30.0f / 32.0f );
}
Expand Down

0 comments on commit 4e2df0f

Please sign in to comment.