This commit is contained in:
Nikolay Korolev 2020-04-08 20:30:45 +03:00
parent b075b0fccf
commit b3571706d1

View file

@ -111,7 +111,7 @@ void CWeather::Init(void)
void CWeather::Update(void)
{
float fNewInterpolation = CClock::GetMinutes() / 60.0f;
float fNewInterpolation = CClock::GetMinutes() * 1.0f / 60;
if (fNewInterpolation < InterpolationValue) {
// new hour
OldWeatherType = NewWeatherType;