diff options
author | belugas <belugas@openttd.org> | 2007-12-28 04:20:56 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-12-28 04:20:56 +0000 |
commit | 1b76c8bb67baeb0b36eb9b845722925f02a74779 (patch) | |
tree | 3e955cb6c9b2d6c09572877bb7dfe3a00eb7a9cc /src/network/network_gui.cpp | |
parent | db45093f7b11e4ac8327c78f460a89dda0331954 (diff) | |
download | openttd-1b76c8bb67baeb0b36eb9b845722925f02a74779.tar.xz |
(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.
Diffstat (limited to 'src/network/network_gui.cpp')
-rw-r--r-- | src/network/network_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index cd550ee5d..869ae876a 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -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)); |