mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Don't attempt to play unset weather sounds
This commit is contained in:
parent
5b8fd79b4b
commit
d97dda05c9
@ -158,6 +158,9 @@ Weather::Weather(const std::string& name,
|
||||
else
|
||||
mAmbientLoopSoundID = fallback.getFallbackString("Weather_" + name + "_Ambient_Loop_Sound_ID");
|
||||
|
||||
if (Misc::StringUtils::ciEqual(mAmbientLoopSoundID, "None"))
|
||||
mAmbientLoopSoundID.clear();
|
||||
|
||||
/*
|
||||
Unhandled:
|
||||
Rain Diameter=600 ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user