File diff r2146:aed40a9dcddc → r2147:d338acdbdc70
openttd.c
Show inline comments
 
@@ -1279,6 +1279,7 @@ bool AfterLoadGame(uint version)
 
{
 
	Window *w;
 
	ViewPort *vp;
 
	Player *p;
 

	
 
	// in version 2.1 of the savegame, town owner was unified.
 
	if (version <= 0x200) {
 
@@ -1432,5 +1433,9 @@ bool AfterLoadGame(uint version)
 
		} END_TILE_LOOP(tile, MapSizeX(), MapSizeY(), 0);
 
	}
 

	
 
	FOR_ALL_PLAYERS(p) {
 
		p->avail_railtypes = GetPlayerRailtypes(p->index);
 
	}
 

	
 
	return true;
 
}