summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
m---------librw0
-rw-r--r--src/render/Shadows.cpp4
2 files changed, 2 insertions, 2 deletions
diff --git a/librw b/librw
-Subproject a2b79a71aa45e083c18789a21e8c99990b1a520
+Subproject 752fceb1e3c4ce06b6f20b9c4471927821469bf
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp
index 319cdd3c..d5970ebe 100644
--- a/src/render/Shadows.cpp
+++ b/src/render/Shadows.cpp
@@ -1642,9 +1642,9 @@ CShadows::RenderExtraPlayerShadows(void)
int32 nColorStrength;
if ( fLightDist < fRadius*0.5f )
- nColorStrength = CTimeCycle::GetLightShadowStrength();
+ 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;