summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-09-03 22:21:12 +0000
committerrubidium <rubidium@openttd.org>2006-09-03 22:21:12 +0000
commit02459f4beff6119cbca797bcbe3a4131445ff6c5 (patch)
treeeb0af80c9bdcf5bc22e0657ae605e81470d44ce9 /openttd.c
parent819acd270aa104042f4310b86fc5d0ccb188e498 (diff)
downloadopenttd-02459f4beff6119cbca797bcbe3a4131445ff6c5.tar.xz
(svn r6366) -Fix (FS#324): when opening a scenario, the date was set 1920 years into the future.
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openttd.c b/openttd.c
index 157df5aae..d4414fdf3 100644
--- a/openttd.c
+++ b/openttd.c
@@ -797,7 +797,7 @@ void SwitchMode(int new_mode)
}
}
_generating_world = false;
- _patches_newgame.starting_year = ORIGINAL_BASE_YEAR + _cur_year;
+ _patches_newgame.starting_year = _cur_year;
// delete all stations owned by a player
DeleteAllPlayerStations();
} else {