fix RenderExtraPlayerShadows

This commit is contained in:
Fire_Head 2020-04-21 22:52:42 +03:00 committed by GitHub
parent 5603546856
commit fba4c51f6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1642,7 +1642,7 @@ CShadows::RenderExtraPlayerShadows(void)
int32 nColorStrength; int32 nColorStrength;
if ( fLightDist < fRadius*0.5f ) if ( fLightDist < fRadius*0.5f )
nColorStrength = CTimeCycle::GetLightShadowStrength(); nColorStrength = (5*CTimeCycle::GetLightShadowStrength()/8);
else else
nColorStrength = int32(CTimeCycle::GetLightShadowStrength() * fMult); nColorStrength = int32(CTimeCycle::GetLightShadowStrength() * fMult);