diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-08-04 15:24:59 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-08-04 15:24:59 +0200 |
commit | 89fd7759a39b696865ff2fb22db808a219353507 (patch) | |
tree | ed090662c4f75968abe23b266044ff1c0f9637e2 /src/render | |
parent | Update CutsceneShadow.h (diff) | |
download | re3-89fd7759a39b696865ff2fb22db808a219353507.tar re3-89fd7759a39b696865ff2fb22db808a219353507.tar.gz re3-89fd7759a39b696865ff2fb22db808a219353507.tar.bz2 re3-89fd7759a39b696865ff2fb22db808a219353507.tar.lz re3-89fd7759a39b696865ff2fb22db808a219353507.tar.xz re3-89fd7759a39b696865ff2fb22db808a219353507.tar.zst re3-89fd7759a39b696865ff2fb22db808a219353507.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/CutsceneShadow.cpp | 6 | ||||
-rw-r--r-- | src/render/Shadows.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/render/CutsceneShadow.cpp b/src/render/CutsceneShadow.cpp index eeaebbc5..8cb33896 100644 --- a/src/render/CutsceneShadow.cpp +++ b/src/render/CutsceneShadow.cpp @@ -242,9 +242,9 @@ CCutsceneShadow::GetShadowCamera(int32 camType) { switch ( camType ) { - case RESAMPLE: return &m_ResampleCamera; break; - case BLUR: return &m_BlurCamera; break; - case GRADIENT: return &m_GradientCamera; break; + case RESAMPLE: return &m_ResampleCamera; + case BLUR: return &m_BlurCamera; + case GRADIENT: return &m_GradientCamera; } return &m_Camera; diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp index 436d0ff5..284b2be0 100644 --- a/src/render/Shadows.cpp +++ b/src/render/Shadows.cpp @@ -534,7 +534,7 @@ CShadows::StoreShadowForVehicle(CVehicle *pCar, VEH_SHD_TYPE type) } else if ( pCar->GetModelIndex() == MI_ANGEL ) { - fVehicleHeight = fVehicleHeight * 1.5; + fVehicleHeight = fVehicleHeight * 1.5f; size = 0.03f; } else if ( pCar->GetModelIndex() == MI_SEASPAR ) |