diff options
author | aap <aap@papnet.eu> | 2019-07-28 13:14:08 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-28 13:14:08 +0200 |
commit | 6ff921c160e802c12ad40b06f17a93f72eea6bdf (patch) | |
tree | 62ba0586a63538340c0f8ebfa99c65c0fc6ed76d /src/render/Renderer.cpp | |
parent | renamed flag to R* name (diff) | |
download | re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar.gz re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar.bz2 re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar.lz re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar.xz re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.tar.zst re3-6ff921c160e802c12ad40b06f17a93f72eea6bdf.zip |
Diffstat (limited to 'src/render/Renderer.cpp')
-rw-r--r-- | src/render/Renderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 7bf4593f..77489e60 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -359,10 +359,10 @@ CRenderer::SetupEntityVisibility(CEntity *ent) ent->GetModelIndex() == MI_RHINO || ent->GetModelIndex() == MI_COACH || TheCamera.m_bInATunnelAndABigVehicle){ - ent->m_flagD40 = true; + ent->bNoBrightHeadLights = true; }else{ m_pFirstPersonVehicle = (CVehicle*)ent; - ent->m_flagD40 = false; + ent->bNoBrightHeadLights = false; } return VIS_OFFSCREEN; }else{ |