summaryrefslogtreecommitdiffstats
path: root/src/render/Weather.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2019-10-16 22:42:31 +0200
committerGitHub <noreply@github.com>2019-10-16 22:42:31 +0200
commit2c81844c20e41079b8d654a4bd06c62e6cd160ea (patch)
tree0d4061ef678cf2bb73bc634128f19878e14c9608 /src/render/Weather.cpp
parentMerge pull request #245 from erorcun/erorcun (diff)
parentMerge branch 'master' into master (diff)
downloadre3-2c81844c20e41079b8d654a4bd06c62e6cd160ea.tar
re3-2c81844c20e41079b8d654a4bd06c62e6cd160ea.tar.gz
re3-2c81844c20e41079b8d654a4bd06c62e6cd160ea.tar.bz2
re3-2c81844c20e41079b8d654a4bd06c62e6cd160ea.tar.lz
re3-2c81844c20e41079b8d654a4bd06c62e6cd160ea.tar.xz
re3-2c81844c20e41079b8d654a4bd06c62e6cd160ea.tar.zst
re3-2c81844c20e41079b8d654a4bd06c62e6cd160ea.zip
Diffstat (limited to 'src/render/Weather.cpp')
-rw-r--r--src/render/Weather.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/render/Weather.cpp b/src/render/Weather.cpp
index 460deeac..452eca92 100644
--- a/src/render/Weather.cpp
+++ b/src/render/Weather.cpp
@@ -33,3 +33,15 @@ void CWeather::ReleaseWeather()
{
ForcedWeatherType = -1;
}
+
+void CWeather::ForceWeather(int16 weather)
+{
+ ForcedWeatherType = weather;
+}
+
+void CWeather::ForceWeatherNow(int16 weather)
+{
+ OldWeatherType = weather;
+ NewWeatherType = weather;
+ ForcedWeatherType = weather;
+}