forked from teamnwah/openmw-tes3coop
Don't attempt to play unset weather sounds
This commit is contained in:
parent
5b8fd79b4b
commit
d97dda05c9
1 changed files with 3 additions and 0 deletions
|
@ -158,6 +158,9 @@ Weather::Weather(const std::string& name,
|
||||||
else
|
else
|
||||||
mAmbientLoopSoundID = fallback.getFallbackString("Weather_" + name + "_Ambient_Loop_Sound_ID");
|
mAmbientLoopSoundID = fallback.getFallbackString("Weather_" + name + "_Ambient_Loop_Sound_ID");
|
||||||
|
|
||||||
|
if (Misc::StringUtils::ciEqual(mAmbientLoopSoundID, "None"))
|
||||||
|
mAmbientLoopSoundID.clear();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Unhandled:
|
Unhandled:
|
||||||
Rain Diameter=600 ?
|
Rain Diameter=600 ?
|
||||||
|
|
Loading…
Reference in a new issue