Don't attempt to play unset weather sounds

openmw-38
scrawl 9 years ago
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…
Cancel
Save