CBoat and friends

This commit is contained in:
aap 2020-07-01 18:03:39 +02:00
parent 389123cff3
commit 2141247e08
12 changed files with 883 additions and 313 deletions

View file

@ -279,7 +279,7 @@ void CWeather::Update(void)
}
Wind = InterpolationValue * Windiness[NewWeatherType] + (1.0f - InterpolationValue) * Windiness[OldWeatherType];
WindClipped = Max(1.0f, Wind);
WindClipped = Min(1.0f, Wind);
if (CClock::GetHours() == 20)
TrafficLightBrightness = CClock::GetMinutes() / 60.0f;