forked from mirror/openmw-tes3mp
Workaround older MSVC quirk
This commit is contained in:
parent
154cc8c659
commit
4caa7c9674
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,6 @@ Weather::Weather(const std::string& name,
|
|||
, mWindSpeed(fallback.getFallbackFloat("Weather_" + name + "_Wind_Speed"))
|
||||
, mCloudSpeed(fallback.getFallbackFloat("Weather_" + name + "_Cloud_Speed"))
|
||||
, mGlareView(fallback.getFallbackFloat("Weather_" + name + "_Glare_View"))
|
||||
, mDL{dlFactor, dlOffset}
|
||||
, mIsStorm(mWindSpeed > stormWindSpeed)
|
||||
, mRainSpeed(rainSpeed)
|
||||
, mRainFrequency(fallback.getFallbackFloat("Weather_" + name + "_Rain_Entrance_Speed"))
|
||||
|
@ -145,6 +144,8 @@ Weather::Weather(const std::string& name,
|
|||
, mFlashDecrement(fallback.getFallbackFloat("Weather_" + name + "_Flash_Decrement"))
|
||||
, mFlashBrightness(0.0f)
|
||||
{
|
||||
mDL.FogFactor = dlFactor;
|
||||
mDL.FogOffset = dlOffset;
|
||||
mThunderSoundID[0] = fallback.getFallbackString("Weather_" + name + "_Thunder_Sound_ID_0");
|
||||
mThunderSoundID[1] = fallback.getFallbackString("Weather_" + name + "_Thunder_Sound_ID_1");
|
||||
mThunderSoundID[2] = fallback.getFallbackString("Weather_" + name + "_Thunder_Sound_ID_2");
|
||||
|
|
Loading…
Reference in a new issue