mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 12:10:00 +00:00
fix weather init
This commit is contained in:
parent
34349c4df2
commit
6473778c47
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue