mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #958.
Issue was caused by an old bit of code that had been added in the force weather cheat to keep it sunny for longer before realising how the climate operated correctly. Instead now it sets the weather to the desired value and starts a normal amount of waiting time before returning to the normal weather cycle.
This commit is contained in:
parent
0816a5fdf5
commit
1728aebb8c
|
@ -191,8 +191,6 @@ void climate_update()
|
|||
}
|
||||
|
||||
void climate_force_weather(uint8 weather){
|
||||
gClimateNextWeather = 0;
|
||||
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_WEATHER, sint8) = weather;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_WEATHER_GLOOM, sint8) = climate_weather_data[weather].gloom_level;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_RAIN_LEVEL, sint8) = climate_weather_data[weather].rain_level;
|
||||
|
|
Loading…
Reference in New Issue