mirror of https://github.com/OpenRCT2/OpenRCT2.git
commit
d50a297981
|
@ -1038,7 +1038,7 @@ void sub_6E1F34(sint16 x, sint16 y, uint16 selected_scenery, sint16* grid_x, sin
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
*parameter_1 = 0 | map_element->properties.path.type & 0x7;
|
*parameter_1 = 0 | ((map_element->properties.path.type & 0x7) << 8);
|
||||||
*parameter_2 = map_element->base_height | ((map_element->properties.path.type >> 4) << 8);
|
*parameter_2 = map_element->base_height | ((map_element->properties.path.type >> 4) << 8);
|
||||||
if (map_element->type & 1){
|
if (map_element->type & 1){
|
||||||
*parameter_2 |= 0x8000;
|
*parameter_2 |= 0x8000;
|
||||||
|
|
|
@ -191,8 +191,6 @@ void climate_update()
|
||||||
}
|
}
|
||||||
|
|
||||||
void climate_force_weather(uint8 weather){
|
void climate_force_weather(uint8 weather){
|
||||||
gClimateNextWeather = 0;
|
|
||||||
|
|
||||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_WEATHER, sint8) = weather;
|
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_WEATHER_GLOOM, sint8) = climate_weather_data[weather].gloom_level;
|
||||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_RAIN_LEVEL, sint8) = climate_weather_data[weather].rain_level;
|
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_RAIN_LEVEL, sint8) = climate_weather_data[weather].rain_level;
|
||||||
|
|
Loading…
Reference in New Issue