1
0
mirror of https://github.com/td512/re3.git synced 2026-01-16 12:07:13 +00:00
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;