summaryrefslogtreecommitdiff
path: root/src/objects
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-04 15:31:28 +0300
committereray orçunus <erayorcunus@gmail.com>2020-07-04 15:31:28 +0300
commit716740f918baef80be00ce2bd0b2dcfdd7d13a09 (patch)
tree70e982ab020ed6535f5e4b7e8524629246edbab9 /src/objects
parent49a8dd74594af6ec216f7c2d1703289649c465dc (diff)
Peds & fixes
Diffstat (limited to 'src/objects')
-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;
}