diff options
author | aap <aap@papnet.eu> | 2020-05-18 16:43:40 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-18 16:43:40 +0200 |
commit | 68f1c03a85833a0efedf5df52160bca02786ccac (patch) | |
tree | bdea8ae67cc6e3a92a8776b15e2bd84ad8bb9a6b /src/render/Clouds.cpp | |
parent | Merge pull request #557 from Nick007J/miami (diff) | |
download | re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar.gz re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar.bz2 re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar.lz re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar.xz re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar.zst re3-68f1c03a85833a0efedf5df52160bca02786ccac.zip |
Diffstat (limited to 'src/render/Clouds.cpp')
-rw-r--r-- | src/render/Clouds.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/Clouds.cpp b/src/render/Clouds.cpp index 9cd3b5d2..05210c77 100644 --- a/src/render/Clouds.cpp +++ b/src/render/Clouds.cpp @@ -64,6 +64,13 @@ CClouds::Update(void) float s = Sin(TheCamera.Orientation - 0.85f); CloudRotation += CWeather::Wind*s*0.001f; IndividualRotation += (CWeather::Wind*CTimer::GetTimeStep()*0.5f + 0.3f) * 60.0f; +#ifdef FIX_BUGS + CloudRotation += CWeather::Wind*s*0.001f*CTimer::GetTimeStepFix(); + IndividualRotation += (CWeather::Wind*CTimer::GetTimeStep()*0.5f + 0.3f*CTimer::GetTimeStepFix()) * 60.0f; +#else + CloudRotation += CWeather::Wind*s*0.001f; + IndividualRotation += (CWeather::Wind*CTimer::GetTimeStep()*0.5f + 0.3f) * 60.0f; +#endif } void |