1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Change gDateMonthsElapsed type to int32_t

This commit is contained in:
Tulio Leao
2020-08-25 19:06:38 -03:00
parent 10aca0fe6e
commit efdb7e1a2d
13 changed files with 18 additions and 18 deletions

View File

@@ -258,7 +258,7 @@ static int8_t climate_step_weather_level(int8_t currentWeatherLevel, int8_t next
*/
static void climate_determine_future_weather(int32_t randomDistribution)
{
int8_t month = date_get_month(gDateMonthsElapsed);
int32_t month = date_get_month(gDateMonthsElapsed);
// Generate a random variable with values 0 up to DistributionSize-1 and chose weather from the distribution table
// accordingly