aboutsummaryrefslogtreecommitdiff
path: root/src/render/Shadows.cpp
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2020-04-21 22:52:42 +0300
committerGitHub <noreply@github.com>2020-04-21 22:52:42 +0300
commitfba4c51f6b54bda7f693672db3343b113218f781 (patch)
treefa3e9af0b9bc5e4491c2eacccc34ac40d4c4cd3f /src/render/Shadows.cpp
parent56035468567032429727724d2ecf17f57d299d61 (diff)
fix RenderExtraPlayerShadows
Diffstat (limited to 'src/render/Shadows.cpp')
-rw-r--r--src/render/Shadows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp
index 319cdd3c..f14b6ec1 100644
--- a/src/render/Shadows.cpp
+++ b/src/render/Shadows.cpp
@@ -1642,7 +1642,7 @@ CShadows::RenderExtraPlayerShadows(void)
int32 nColorStrength;
if ( fLightDist < fRadius*0.5f )
- nColorStrength = CTimeCycle::GetLightShadowStrength();
+ nColorStrength = (5*CTimeCycle::GetLightShadowStrength()/8);
else
nColorStrength = int32(CTimeCycle::GetLightShadowStrength() * fMult);