summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-12 13:41:22 +0100
committeraap <aap@papnet.eu>2021-01-12 13:41:29 +0100
commit9b2037419f96c6627cb5f2a6f9d127ef1dcdb9df (patch)
treea7873279062f306cfc0371d29d4b015a5920642e /src/render/Renderer.cpp
parentMerge pull request #948 from Sergeanur/lcsPR/CutsceneMgr (diff)
downloadre3-9b2037419f96c6627cb5f2a6f9d127ef1dcdb9df.tar
re3-9b2037419f96c6627cb5f2a6f9d127ef1dcdb9df.tar.gz
re3-9b2037419f96c6627cb5f2a6f9d127ef1dcdb9df.tar.bz2
re3-9b2037419f96c6627cb5f2a6f9d127ef1dcdb9df.tar.lz
re3-9b2037419f96c6627cb5f2a6f9d127ef1dcdb9df.tar.xz
re3-9b2037419f96c6627cb5f2a6f9d127ef1dcdb9df.tar.zst
re3-9b2037419f96c6627cb5f2a6f9d127ef1dcdb9df.zip
Diffstat (limited to 'src/render/Renderer.cpp')
-rw-r--r--src/render/Renderer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 9ed556e4..5c65eea5 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -1816,7 +1816,8 @@ CRenderer::GenerateEnvironmentMap(void)
RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void*)TRUE);
// Draw coronas
- DrawEnvMapCoronas(TheCamera.GetForward().Heading());
+ if(CustomPipes::VehiclePipeSwitch != CustomPipes::VEHICLEPIPE_MOBILE)
+ DrawEnvMapCoronas(TheCamera.GetForward().Heading());
RwCameraEndUpdate(CustomPipes::EnvMapCam);