summaryrefslogtreecommitdiffstats
path: root/src/render/VisibilityPlugins.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-10-27 04:17:30 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2019-10-27 04:17:30 +0100
commit537aaca5c200cb61928674303f7a24e3af29ad54 (patch)
tree6107f1e30d2392fb11df36d4902605810b4a6998 /src/render/VisibilityPlugins.cpp
parentCGame::FinalShutdown (diff)
downloadre3-537aaca5c200cb61928674303f7a24e3af29ad54.tar
re3-537aaca5c200cb61928674303f7a24e3af29ad54.tar.gz
re3-537aaca5c200cb61928674303f7a24e3af29ad54.tar.bz2
re3-537aaca5c200cb61928674303f7a24e3af29ad54.tar.lz
re3-537aaca5c200cb61928674303f7a24e3af29ad54.tar.xz
re3-537aaca5c200cb61928674303f7a24e3af29ad54.tar.zst
re3-537aaca5c200cb61928674303f7a24e3af29ad54.zip
Diffstat (limited to 'src/render/VisibilityPlugins.cpp')
-rw-r--r--src/render/VisibilityPlugins.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/VisibilityPlugins.cpp b/src/render/VisibilityPlugins.cpp
index 2107813b..ac5ac826 100644
--- a/src/render/VisibilityPlugins.cpp
+++ b/src/render/VisibilityPlugins.cpp
@@ -97,8 +97,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);