summaryrefslogtreecommitdiff
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
commit38ace9deef00a876fc8566cf11154a154a970d8e (patch)
treeeb0af80c9bdcf5bc22e0657ae605e81470d44ce9
parent03f963af586f384de2346e9292f69021caec5a7b (diff)
downloadopenttd-38ace9deef00a876fc8566cf11154a154a970d8e.tar.xz
(svn r6366) -Fix (FS#324): when opening a scenario, the date was set 1920 years into the future.
-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 {