summaryrefslogtreecommitdiffstats
path: root/src/render/Weather.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-10-12 21:00:31 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-10-12 21:00:31 +0200
commitc78fff8d5469f76a1a684f55bb4a6c7d64ad12b7 (patch)
tree754aa2cd46ffa7ad3e6c4e8c0498341bb569c57f /src/render/Weather.cpp
parentblunder (diff)
downloadre3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar.gz
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar.bz2
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar.lz
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar.xz
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar.zst
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.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;
+}