summaryrefslogtreecommitdiffstats
path: root/src/render/Shadows.cpp
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2019-10-27 04:36:58 +0100
committerGitHub <noreply@github.com>2019-10-27 04:36:58 +0100
commit6a46cc6c3b2aa7ee0a05260b671b29adb01167c7 (patch)
treed7a4b2ec22bcb6a9f6d8ef2602c7fdbac417d18b /src/render/Shadows.cpp
parentSfxEnum (diff)
parentControllerConfig done (diff)
downloadre3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar
re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar.gz
re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar.bz2
re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar.lz
re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar.xz
re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.tar.zst
re3-6a46cc6c3b2aa7ee0a05260b671b29adb01167c7.zip
Diffstat (limited to 'src/render/Shadows.cpp')
-rw-r--r--src/render/Shadows.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp
index 4d2e4605..5b6bb976 100644
--- a/src/render/Shadows.cpp
+++ b/src/render/Shadows.cpp
@@ -532,8 +532,8 @@ CShadows::StoreCarLightShadow(CAutomobile *pCar, int32 nID, RwTexture *pTexture,
float fDistToCamSqr = (*pPosn - TheCamera.GetPosition()).MagnitudeSqr2D();
- bool bSpecialCam = TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN1
- || TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWNPED
+ bool bSpecialCam = TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN
+ || TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOP_DOWN_PED
|| CCutsceneMgr::IsRunning();
float fDrawDistance = 27.0f;