fix weather init
This commit is contained in:
1 parent
34349c4df2
commit
6473778c47
1 file changed
+3
-3
@@ -71,8 +71,8 @@ const int16 WeatherTypesList[] = {
|
|||||||
|
|
||||||
const float Windiness[] = {
|
const float Windiness[] = {
|
||||||
0.0f, // WEATHER_SUNNY
|
0.0f, // WEATHER_SUNNY
|
||||||
0.7f, // WEATHER_RAINY
|
0.7f, // WEATHER_CLOUDY
|
||||||
1.0f, // WEATHER_CLOUDY
|
1.0f, // WEATHER_RAINY
|
||||||
0.5f // WEATHER_FOGGY
|
0.5f // WEATHER_FOGGY
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -106,7 +106,7 @@ void CWeather::Init(void)
|
|||||||
{
|
{
|
||||||
NewWeatherType = WEATHER_SUNNY;
|
NewWeatherType = WEATHER_SUNNY;
|
||||||
bScriptsForceRain = false;
|
bScriptsForceRain = false;
|
||||||
OldWeatherType = WEATHER_RAINY;
|
OldWeatherType = WEATHER_CLOUDY;
|
||||||
Stored_StateStored = false;
|
Stored_StateStored = false;
|
||||||
InterpolationValue = 0.0f;
|
InterpolationValue = 0.0f;
|
||||||
WhenToPlayLightningSound = 0;
|
WhenToPlayLightningSound = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user