mirror of https://github.com/OpenTTD/OpenTTD
(svn r15169) -Revert (r11271): it was broken by r12924, and the issue is fixed again in r12948 in a cleaner way
parent
7a13ade405
commit
091d82470b
|
@ -1532,16 +1532,6 @@ static bool LoadOldMain(LoadgameState *ls)
|
||||||
/* Remap some pointers */
|
/* Remap some pointers */
|
||||||
_cur_town_ctr = REMAP_TOWN_IDX(_old_cur_town_ctr);
|
_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 */
|
/* Fix the game to be compatible with OpenTTD */
|
||||||
FixOldTowns();
|
FixOldTowns();
|
||||||
FixOldVehicles();
|
FixOldVehicles();
|
||||||
|
|
Loading…
Reference in New Issue