summaryrefslogtreecommitdiffstats
path: root/src/control/TrafficLights.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-10-11 17:14:35 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-10-11 17:14:35 +0200
commit28b47b601f48477866331d360278c62ff1c01922 (patch)
tree23f99f4f6420f0239624de4a009f8bb182b23dc3 /src/control/TrafficLights.cpp
parentsmall fix (diff)
downloadre3-28b47b601f48477866331d360278c62ff1c01922.tar
re3-28b47b601f48477866331d360278c62ff1c01922.tar.gz
re3-28b47b601f48477866331d360278c62ff1c01922.tar.bz2
re3-28b47b601f48477866331d360278c62ff1c01922.tar.lz
re3-28b47b601f48477866331d360278c62ff1c01922.tar.xz
re3-28b47b601f48477866331d360278c62ff1c01922.tar.zst
re3-28b47b601f48477866331d360278c62ff1c01922.zip
Diffstat (limited to 'src/control/TrafficLights.cpp')
-rw-r--r--src/control/TrafficLights.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/TrafficLights.cpp b/src/control/TrafficLights.cpp
index 9926432b..ecfc7207 100644
--- a/src/control/TrafficLights.cpp
+++ b/src/control/TrafficLights.cpp
@@ -261,7 +261,7 @@ CTrafficLights::DisplayActualLight(CEntity *ent)
CVector pos = (pos1 + pos2) / 2;
if (id >= 0) {
CBrightLights::RegisterOne(pos1, ent->GetUp(), ent->GetRight(), CVector(0.0f, 0.0f, 0.0f), id + BRIGHTLIGHT_TRAFFIC_GREEN);
- CBrightLights::RegisterOne(pos2, ent->GetUp(), -ent->GetRight(), CVector(0.0f, 0.0f, 0.0f), id + BRIGHTLIGHT_TRAFFIC_GREEN);
+ CBrightLights::RegisterOne(pos2, ent->GetUp(), ent->GetRight(), CVector(0.0f, 0.0f, 0.0f), id + BRIGHTLIGHT_TRAFFIC_GREEN);
}
if (CWeather::TrafficLightBrightness > 0.5f)