diff options
Diffstat (limited to '')
-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 ) |