diff options
author | aap <aap@papnet.eu> | 2019-06-12 21:17:02 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-12 21:17:02 +0200 |
commit | 9703ef9b591430b86c272e0f042b1f50b6cb437c (patch) | |
tree | 4e27511538090c8872e80c68cc7f70186eeb01f4 /src/Timecycle.cpp | |
parent | implemented CCutsceneHead and dependencies (diff) | |
download | re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar.gz re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar.bz2 re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar.lz re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar.xz re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar.zst re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.zip |
Diffstat (limited to 'src/Timecycle.cpp')
-rw-r--r-- | src/Timecycle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Timecycle.cpp b/src/Timecycle.cpp index 501691c3..56341e32 100644 --- a/src/Timecycle.cpp +++ b/src/Timecycle.cpp @@ -289,7 +289,7 @@ CTimeCycle::Update(void) TheCamera.SetMotionBlur(m_fCurrentBlurRed, m_fCurrentBlurGreen, m_fCurrentBlurBlue, m_fCurrentBlurAlpha, MBLUR_NORMAL); if(m_FogReduction != 0) - m_fCurrentFarClip = max(m_fCurrentFarClip, m_FogReduction/64 * 650.0f); + m_fCurrentFarClip = max(m_fCurrentFarClip, m_FogReduction/64.0f * 650.0f); m_nCurrentFogColourRed = (m_nCurrentSkyTopRed + 2*m_nCurrentSkyBottomRed) / 3; m_nCurrentFogColourGreen = (m_nCurrentSkyTopGreen + 2*m_nCurrentSkyBottomGreen) / 3; m_nCurrentFogColourBlue = (m_nCurrentSkyTopBlue + 2*m_nCurrentSkyBottomBlue) / 3; |