File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1048,11 +1048,11 @@ const weather_generator &weather_manager::get_cur_weather_gen() const
10481048
10491049void weather_manager::update_weather ()
10501050{
1051- w_point &w = *weather_precise;
1052- winddirection = wind_direction_override ? *wind_direction_override : w.winddirection ;
1053- windspeed = windspeed_override ? *windspeed_override : w.windpower ;
1051+ winddirection = wind_direction_override ? *wind_direction_override : winddirection;
1052+ windspeed = windspeed_override ? *windspeed_override : windspeed;
10541053 Character &player_character = get_player_character ();
10551054 if ( weather_id == WEATHER_NULL || calendar::turn >= nextweather ) {
1055+ w_point &w = *weather_precise;
10561056 const weather_generator &weather_gen = get_cur_weather_gen ();
10571057 w = weather_gen.get_weather ( player_character.global_square_location (), calendar::turn,
10581058 g->get_seed () );
You can’t perform that action at this time.
0 commit comments