diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2020-04-21 21:53:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 21:53:55 +0200 |
commit | 828dc85be5a7a24bdcf6aaca2eeda1756de63bfd (patch) | |
tree | e4f7d6c344b7b2467098c37fad8d6808b6ccf9db /src/render | |
parent | fix RenderExtraPlayerShadows (diff) | |
download | re3-828dc85be5a7a24bdcf6aaca2eeda1756de63bfd.tar re3-828dc85be5a7a24bdcf6aaca2eeda1756de63bfd.tar.gz re3-828dc85be5a7a24bdcf6aaca2eeda1756de63bfd.tar.bz2 re3-828dc85be5a7a24bdcf6aaca2eeda1756de63bfd.tar.lz re3-828dc85be5a7a24bdcf6aaca2eeda1756de63bfd.tar.xz re3-828dc85be5a7a24bdcf6aaca2eeda1756de63bfd.tar.zst re3-828dc85be5a7a24bdcf6aaca2eeda1756de63bfd.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Shadows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp index f14b6ec1..d5970ebe 100644 --- a/src/render/Shadows.cpp +++ b/src/render/Shadows.cpp @@ -1644,7 +1644,7 @@ CShadows::RenderExtraPlayerShadows(void) if ( fLightDist < fRadius*0.5f ) nColorStrength = (5*CTimeCycle::GetLightShadowStrength()/8); else - nColorStrength = int32(CTimeCycle::GetLightShadowStrength() * fMult); + nColorStrength = int32((5*CTimeCycle::GetLightShadowStrength()/8) * fMult); float fInv = 1.0f / fLightDist; vecLight.x *= fInv; |