mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-02 14:04:14 +01:00
fix
This commit is contained in:
parent
91a274da2b
commit
28b47b601f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user