summaryrefslogtreecommitdiffstats
path: root/src/render/Weather.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-25 07:59:32 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-25 07:59:32 +0100
commitde31bdc89fe2b2d191bee7a0c224b35bc0c9612e (patch)
tree677be52372e636035f37c0d18b27f9892228425c /src/render/Weather.cpp
parentMerge pull request #886 from erorcun/master (diff)
downloadre3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.gz
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.bz2
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.lz
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.xz
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.zst
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.zip
Diffstat (limited to 'src/render/Weather.cpp')
-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 e765f306..bf3e51b4 100644
--- a/src/render/Weather.cpp
+++ b/src/render/Weather.cpp
@@ -114,7 +114,7 @@ void CWeather::Init(void)
ForcedWeatherType = WEATHER_RANDOM;
SoundHandle = DMAudio.CreateEntity(AUDIOTYPE_WEATHER, (void*)1);
if (SoundHandle >= 0)
- DMAudio.SetEntityStatus(SoundHandle, 1);
+ DMAudio.SetEntityStatus(SoundHandle, true);
}
void CWeather::Update(void)