fix
This commit is contained in:
parent
b075b0fccf
commit
b3571706d1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user