Skip to content

Commit

Permalink
changed weather check to 5 minutes instead of each turn
Browse files Browse the repository at this point in the history
  • Loading branch information
Efimero committed Jul 17, 2014
1 parent 5126cea commit e1f611c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,7 @@ void game::update_weather()
weather = weatherGen.get_weather_conditions(w);
temperature = w.temperature;
g->lightning_active = false;
nextweather += 1; // Check weather each turn.
nextweather += 50; // Check weather each turn.
if (weather != old_weather && weather_data[weather].dangerous &&
levz >= 0 && m.is_outside(u.posx, u.posy)) {
cancel_activity_query(_("The weather changed to %s!"), weather_data[weather].name.c_str());
Expand Down

0 comments on commit e1f611c

Please sign in to comment.