summaryrefslogtreecommitdiffstats
path: root/src/render/Timecycle.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-29 11:56:50 +0200
committerSergeanur <s.anureev@yandex.ua>2020-06-29 11:56:50 +0200
commitb26eec5dafc7720d2c8e61db7dd6da29442cab94 (patch)
tree4dfc58239c4555d4d4e6d0b327b65b7dab6cae65 /src/render/Timecycle.cpp
parentrenamed 2dfx shadowRange to Size (diff)
parentUpdate MemoryCard.cpp (diff)
downloadre3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.gz
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.bz2
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.lz
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.xz
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.zst
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.zip
Diffstat (limited to 'src/render/Timecycle.cpp')
-rw-r--r--src/render/Timecycle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Timecycle.cpp b/src/render/Timecycle.cpp
index bf55d7bc..fe898412 100644
--- a/src/render/Timecycle.cpp
+++ b/src/render/Timecycle.cpp
@@ -362,8 +362,8 @@ CTimeCycle::Update(void)
// TODO(MIAMI): extra colours
- if(TheCamera.m_BlurType == MBLUR_NONE || TheCamera.m_BlurType == MBLUR_NORMAL)
- TheCamera.SetMotionBlur(m_fCurrentBlurRed, m_fCurrentBlurGreen, m_fCurrentBlurBlue, 5, MBLUR_NORMAL);
+ if(TheCamera.m_BlurType == MOTION_BLUR_NONE || TheCamera.m_BlurType == MOTION_BLUR_LIGHT_SCENE)
+ TheCamera.SetMotionBlur(m_fCurrentBlurRed, m_fCurrentBlurGreen, m_fCurrentBlurBlue, 5, MOTION_BLUR_LIGHT_SCENE);
m_nCurrentFogColourRed = (m_nCurrentSkyTopRed + 2*m_nCurrentSkyBottomRed) / 3;
m_nCurrentFogColourGreen = (m_nCurrentSkyTopGreen + 2*m_nCurrentSkyBottomGreen) / 3;