1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 11:20:07 +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) void CWeather::Update(void)
{ {
float fNewInterpolation = CClock::GetMinutes() / 60.0f; float fNewInterpolation = CClock::GetMinutes() * 1.0f / 60;
if (fNewInterpolation < InterpolationValue) { if (fNewInterpolation < InterpolationValue) {
// new hour // new hour
OldWeatherType = NewWeatherType; OldWeatherType = NewWeatherType;