diff options
Diffstat (limited to 'src/control/TrafficLights.cpp')
-rw-r--r-- | src/control/TrafficLights.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/TrafficLights.cpp b/src/control/TrafficLights.cpp index d8f211d0..a3cba9b9 100644 --- a/src/control/TrafficLights.cpp +++ b/src/control/TrafficLights.cpp @@ -303,7 +303,7 @@ CTrafficLights::DisplayActualLight(CEntity *ent) 12.0f, 1.0f, 40.0f, false, 0.0f); if (id >= 0) { - if (DotProduct(TheCamera.GetForward(), ent->GetForward()) < 0.0f) + if (DotProduct(TheCamera.GetForward(), ent->GetForward()) > 0.0f) CCoronas::RegisterCorona((uintptr)ent + id, r * CTimeCycle::GetSpriteBrightness() * 0.7f, g * CTimeCycle::GetSpriteBrightness() * 0.7f, |