summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-01-20 15:23:58 +0000
committersmatz <smatz@openttd.org>2009-01-20 15:23:58 +0000
commit2a2aa282e5782cead453bf74b1866e22f125fbb8 (patch)
tree331221bc4edee15ac816a996d03e57626897bbda /src
parent5dc32bb262e00674f057f79effd112cc032ae4af (diff)
downloadopenttd-2a2aa282e5782cead453bf74b1866e22f125fbb8.tar.xz
(svn r15169) -Revert (r11271): it was broken by r12924, and the issue is fixed again in r12948 in a cleaner way
Diffstat (limited to 'src')
-rw-r--r--src/saveload/oldloader.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp
index 70d159202..0490409bd 100644
--- a/src/saveload/oldloader.cpp
+++ b/src/saveload/oldloader.cpp
@@ -1532,16 +1532,6 @@ static bool LoadOldMain(LoadgameState *ls)
/* Remap some pointers */
_cur_town_ctr = REMAP_TOWN_IDX(_old_cur_town_ctr);
- /* Make sure the available engines are really available, otherwise
- * we will get a "new vehicle"-spree. */
- Engine *e;
- FOR_ALL_ENGINES(e) {
- if (_date >= (e->intro_date + DAYS_IN_YEAR)) {
- e->flags = (e->flags & ~ENGINE_EXCLUSIVE_PREVIEW) | ENGINE_AVAILABLE;
- e->company_avail = (CompanyMask)-1;
- }
- }
-
/* Fix the game to be compatible with OpenTTD */
FixOldTowns();
FixOldVehicles();