summaryrefslogtreecommitdiffstats
path: root/src/objects/CutsceneObject.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-04 14:31:28 +0200
committereray orçunus <erayorcunus@gmail.com>2020-07-04 14:31:28 +0200
commit716740f918baef80be00ce2bd0b2dcfdd7d13a09 (patch)
tree70e982ab020ed6535f5e4b7e8524629246edbab9 /src/objects/CutsceneObject.cpp
parentfixed typo (diff)
downloadre3-716740f918baef80be00ce2bd0b2dcfdd7d13a09.tar
re3-716740f918baef80be00ce2bd0b2dcfdd7d13a09.tar.gz
re3-716740f918baef80be00ce2bd0b2dcfdd7d13a09.tar.bz2
re3-716740f918baef80be00ce2bd0b2dcfdd7d13a09.tar.lz
re3-716740f918baef80be00ce2bd0b2dcfdd7d13a09.tar.xz
re3-716740f918baef80be00ce2bd0b2dcfdd7d13a09.tar.zst
re3-716740f918baef80be00ce2bd0b2dcfdd7d13a09.zip
Diffstat (limited to '')
-rw-r--r--src/objects/CutsceneObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objects/CutsceneObject.cpp b/src/objects/CutsceneObject.cpp
index bf39bd03..adfec37c 100644
--- a/src/objects/CutsceneObject.cpp
+++ b/src/objects/CutsceneObject.cpp
@@ -93,7 +93,7 @@ CCutsceneObject::SetupLighting(void)
}else{
CVector coors = GetPosition();
float lighting = CPointLights::GenerateLightsAffectingObject(&coors);
- if(!bHasBlip && lighting != 1.0f){
+ if(lighting != 1.0f){
SetAmbientAndDirectionalColours(lighting);
return true;
}