mirror of
https://github.com/halpz/re3.git
synced 2024-12-25 18:05:27 +00:00
fix
This commit is contained in:
parent
91a274da2b
commit
28b47b601f
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue