Skip to content

Commit 4e2df0f

Browse files
committed
Fix fog image
Fixes a regression introduced in 7e7cb4f.
1 parent 2ee569b commit 4e2df0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/tr_image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ float R_FogFactor( float s, float t )
22242224
return 0;
22252225
}
22262226

2227-
if ( t < 31.0f / 320.0f )
2227+
if ( t < 31.0f / 32.0f )
22282228
{
22292229
s *= ( t - 1.0f / 32.0f ) / ( 30.0f / 32.0f );
22302230
}

0 commit comments

Comments
 (0)