diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2019-10-27 04:36:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-27 04:36:58 +0100 |
commit | 6a46cc6c3b2aa7ee0a05260b671b29adb01167c7 (patch) | |
tree | d7a4b2ec22bcb6a9f6d8ef2602c7fdbac417d18b /src/render/VisibilityPlugins.cpp | |
parent | SfxEnum (diff) | |
parent | ControllerConfig done (diff) | |
download | re3-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/VisibilityPlugins.cpp')
-rw-r--r-- | src/render/VisibilityPlugins.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/VisibilityPlugins.cpp b/src/render/VisibilityPlugins.cpp index e42c9df0..bbaa08ce 100644 --- a/src/render/VisibilityPlugins.cpp +++ b/src/render/VisibilityPlugins.cpp @@ -98,8 +98,8 @@ CVisibilityPlugins::SetRenderWareCamera(RwCamera *camera) ms_pCamera = camera; ms_pCameraPosn = RwMatrixGetPos(RwFrameGetMatrix(RwCameraGetFrame(camera))); - if(TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN1 || - TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWNPED) + if(TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN || + TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOP_DOWN_PED) ms_cullCompsDist = 1000000.0f; else ms_cullCompsDist = sq(TheCamera.LODDistMultiplier * 20.0f); |