1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-26 18:15:27 +00:00
This commit is contained in:
Nikolay Korolev 2020-10-11 18:14:35 +03:00
parent 91a274da2b
commit 28b47b601f

View file

@ -261,7 +261,7 @@ CTrafficLights::DisplayActualLight(CEntity *ent)
CVector pos = (pos1 + pos2) / 2; CVector pos = (pos1 + pos2) / 2;
if (id >= 0) { if (id >= 0) {
CBrightLights::RegisterOne(pos1, ent->GetUp(), ent->GetRight(), CVector(0.0f, 0.0f, 0.0f), id + BRIGHTLIGHT_TRAFFIC_GREEN); 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) if (CWeather::TrafficLightBrightness > 0.5f)