1
0
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:
belugas
2007-12-28 04:20:56 +00:00
parent 5087a6cdd7
commit e9a039b845
4 changed files with 33 additions and 1 deletions

View File

@@ -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));