diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-27 10:51:24 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-27 10:51:24 +0100 |
commit | 62240606271b80ad5f8cc47f30d6f3f974d1fabe (patch) | |
tree | 0ec36dae8d78c49b21d3cce71c16c9e0da8c74e8 /src/render/Renderer.cpp | |
parent | script 600-699 (diff) | |
parent | Merge pull request #259 from Fire-Head/master (diff) | |
download | re3-62240606271b80ad5f8cc47f30d6f3f974d1fabe.tar re3-62240606271b80ad5f8cc47f30d6f3f974d1fabe.tar.gz re3-62240606271b80ad5f8cc47f30d6f3f974d1fabe.tar.bz2 re3-62240606271b80ad5f8cc47f30d6f3f974d1fabe.tar.lz re3-62240606271b80ad5f8cc47f30d6f3f974d1fabe.tar.xz re3-62240606271b80ad5f8cc47f30d6f3f974d1fabe.tar.zst re3-62240606271b80ad5f8cc47f30d6f3f974d1fabe.zip |
Diffstat (limited to 'src/render/Renderer.cpp')
-rw-r--r-- | src/render/Renderer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 99d50e8f..562d5882 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -353,7 +353,7 @@ CRenderer::SetupEntityVisibility(CEntity *ent) }else{ if(mi->m_type != MITYPE_SIMPLE){ if(FindPlayerVehicle() == ent && - TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_FIRSTPERSON){ + TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_1STPERSON){ // Player's vehicle in first person mode if(TheCamera.Cams[TheCamera.ActiveCam].DirectionWasLooking == LOOKING_FORWARD || ent->GetModelIndex() == MI_RHINO || @@ -642,8 +642,8 @@ CRenderer::ScanWorld(void) RwV3dTransformPoints((RwV3d*)vectors, (RwV3d*)vectors, 9, cammatrix); m_loadingPriority = false; - 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){ CRect rect; int x1, x2, y1, y2; LimitFrustumVector(vectors[CORNER_FAR_TOPLEFT], vectors[CORNER_CAM], -100.0f); @@ -753,8 +753,8 @@ CRenderer::RequestObjectsInFrustum(void) vectors[CORNER_PRIO_RIGHT].z = vectors[CORNER_LOD_RIGHT].z; RwV3dTransformPoints((RwV3d*)vectors, (RwV3d*)vectors, 9, cammatrix); - 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){ CRect rect; int x1, x2, y1, y2; LimitFrustumVector(vectors[CORNER_FAR_TOPLEFT], vectors[CORNER_CAM], -100.0f); |