Changeset - r10834:f715df7d58c4
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2009-01-20 15:23:58
smatz@openttd.org
(svn r15169) -Revert (r11271): it was broken by r12924, and the issue is fixed again in r12948 in a cleaner way
1 file changed with 0 insertions and 10 deletions:
0 comments (0 inline, 0 general)
src/saveload/oldloader.cpp
Show inline comments
 
@@ -1532,16 +1532,6 @@ static bool LoadOldMain(LoadgameState *l
 
	/* 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();
0 comments (0 inline, 0 general)