(svn r5928) -Cleanup: remove ConvertIntDate and use ConvertYMDToDate as ConvertIntDate was only called with Years.
This commit is contained in:
@@ -983,7 +983,7 @@ static void NetworkInitGameInfo(void)
|
||||
_network_game_info.spectators_on = 0;
|
||||
|
||||
_network_game_info.game_date = _date;
|
||||
_network_game_info.start_date = ConvertIntDate(_patches.starting_year);
|
||||
_network_game_info.start_date = ConvertYMDToDate(_patches.starting_year, 0, 1);
|
||||
_network_game_info.map_width = MapSizeX();
|
||||
_network_game_info.map_height = MapSizeY();
|
||||
_network_game_info.map_set = _opt.landscape;
|
||||
|
Reference in New Issue
Block a user