summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-26 14:16:06 +0100
committeraap <aap@papnet.eu>2020-03-27 10:04:45 +0100
commitf0dfaac838fdbb90783609bf4e45518ccf853708 (patch)
tree0091bdfdf4a7149265af7a596906a9cf4f50a55c /src/render/Renderer.cpp
parentMerge pull request #353 from Sergeanur/Debug (diff)
downloadre3-f0dfaac838fdbb90783609bf4e45518ccf853708.tar
re3-f0dfaac838fdbb90783609bf4e45518ccf853708.tar.gz
re3-f0dfaac838fdbb90783609bf4e45518ccf853708.tar.bz2
re3-f0dfaac838fdbb90783609bf4e45518ccf853708.tar.lz
re3-f0dfaac838fdbb90783609bf4e45518ccf853708.tar.xz
re3-f0dfaac838fdbb90783609bf4e45518ccf853708.tar.zst
re3-f0dfaac838fdbb90783609bf4e45518ccf853708.zip
Diffstat (limited to 'src/render/Renderer.cpp')
-rw-r--r--src/render/Renderer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index ff9f5755..d7834065 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -645,6 +645,9 @@ CRenderer::ScanWorld(void)
m_loadingPriority = false;
if(TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN ||
+#ifdef FIX_BUGS
+ TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_GTACLASSIC ||
+#endif
TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOP_DOWN_PED){
CRect rect;
int x1, x2, y1, y2;
@@ -756,6 +759,9 @@ CRenderer::RequestObjectsInFrustum(void)
RwV3dTransformPoints((RwV3d*)vectors, (RwV3d*)vectors, 9, cammatrix);
if(TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN ||
+#ifdef FIX_BUGS
+ TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_GTACLASSIC ||
+#endif
TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOP_DOWN_PED){
CRect rect;
int x1, x2, y1, y2;