summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-08 20:30:45 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-08 20:30:45 +0300
commitb3571706d1cd89aed852ceecf57b130dff0343e0 (patch)
tree60834db959786deead35eb4712238c78c6ed5298 /src
parentb075b0fccf3e40a375c229cee4dfa3021c618809 (diff)
fix
Diffstat (limited to 'src')
-rw-r--r--src/render/Weather.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Weather.cpp b/src/render/Weather.cpp
index 5e19987a..0970b94b 100644
--- a/src/render/Weather.cpp
+++ b/src/render/Weather.cpp
@@ -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;