mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 13:39:09 +00:00
(svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.
This commit is contained in:
2
misc.c
2
misc.c
@@ -124,7 +124,7 @@ void InitializeGame(int mode, uint size_x, uint size_y)
|
||||
_cur_tileloop_tile = 0;
|
||||
|
||||
if ((mode & IG_DATE_RESET) == IG_DATE_RESET) {
|
||||
uint starting = ConvertIntDate(_patches.starting_date);
|
||||
uint starting = ConvertIntDate(_patches.starting_year);
|
||||
if (starting == (uint)-1) starting = 10958;
|
||||
SetDate(starting);
|
||||
}
|
||||
|
Reference in New Issue
Block a user