summaryrefslogtreecommitdiffstats
path: root/src/vehicles
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/vehicles
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 'src/vehicles')
-rw-r--r--src/vehicles/Vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 360b843b..e26fd99f 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -232,7 +232,7 @@ CVehicle::SetupLighting(void)
}else{
CVector coors = GetPosition();
float lighting = CPointLights::GenerateLightsAffectingObject(&coors);
- if(!bHasBlip && lighting != 1.0f){
+ if(lighting != 1.0f){
SetAmbientAndDirectionalColours(lighting);
return true;
}