summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-08 19:30:45 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-08 19:30:45 +0200
commitb3571706d1cd89aed852ceecf57b130dff0343e0 (patch)
tree60834db959786deead35eb4712238c78c6ed5298 /src
parentMerge branch 'master' into garages_dev (diff)
downloadre3-b3571706d1cd89aed852ceecf57b130dff0343e0.tar
re3-b3571706d1cd89aed852ceecf57b130dff0343e0.tar.gz
re3-b3571706d1cd89aed852ceecf57b130dff0343e0.tar.bz2
re3-b3571706d1cd89aed852ceecf57b130dff0343e0.tar.lz
re3-b3571706d1cd89aed852ceecf57b130dff0343e0.tar.xz
re3-b3571706d1cd89aed852ceecf57b130dff0343e0.tar.zst
re3-b3571706d1cd89aed852ceecf57b130dff0343e0.zip
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;