mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
(svn r11714) -Fix[FS#1569]: Do not allow player inauguration date on scenarios to be bigger than current year.
This will not (yet) be true if you are loading a scenario with the "-g" command line option.
This commit is contained in:
@@ -810,6 +810,7 @@ static void NetworkStartServerWindowWndProc(Window *w, WindowEvent *e)
|
||||
char *name = FiosBrowseTo(nd->map);
|
||||
if (name != NULL) {
|
||||
SetFiosType(nd->map->type);
|
||||
_file_to_saveload.filetype = FT_SCENARIO;
|
||||
ttd_strlcpy(_file_to_saveload.name, name, sizeof(_file_to_saveload.name));
|
||||
ttd_strlcpy(_file_to_saveload.title, nd->map->title, sizeof(_file_to_saveload.title));
|
||||
|
||||
|
Reference in New Issue
Block a user