mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04: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
|
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…
x
Reference in New Issue
Block a user