summaryrefslogtreecommitdiffstats
path: root/src/entities/CutsceneObject.cpp
diff options
context:
space:
mode:
author_AG <gennariarmando@outlook.com>2019-06-22 11:42:21 +0200
committer_AG <gennariarmando@outlook.com>2019-06-22 11:42:27 +0200
commitbeea41d465619ce39bdd36824c477b9690a619d5 (patch)
tree0595beed05d614ee4944d0f40ef81403902ca576 /src/entities/CutsceneObject.cpp
parentbla (diff)
downloadre3-beea41d465619ce39bdd36824c477b9690a619d5.tar
re3-beea41d465619ce39bdd36824c477b9690a619d5.tar.gz
re3-beea41d465619ce39bdd36824c477b9690a619d5.tar.bz2
re3-beea41d465619ce39bdd36824c477b9690a619d5.tar.lz
re3-beea41d465619ce39bdd36824c477b9690a619d5.tar.xz
re3-beea41d465619ce39bdd36824c477b9690a619d5.tar.zst
re3-beea41d465619ce39bdd36824c477b9690a619d5.zip
Diffstat (limited to '')
-rw-r--r--src/entities/CutsceneObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/CutsceneObject.cpp b/src/entities/CutsceneObject.cpp
index 1e665dd6..163d0513 100644
--- a/src/entities/CutsceneObject.cpp
+++ b/src/entities/CutsceneObject.cpp
@@ -74,7 +74,7 @@ CCutsceneObject::SetupLighting(void)
}else{
CVector coors = GetPosition();
float lighting = CPointLights::GenerateLightsAffectingObject(&coors);
- if(!m_flagB20 && lighting != 1.0f){
+ if(!bHasBlip && lighting != 1.0f){
SetAmbientAndDirectionalColours(lighting);
return true;
}