Changeset - r10964:cfb60d831f24
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2009-02-01 00:50:32
smatz@openttd.org
(svn r15303) -Fix (r12381): desync if a GRF used town's last month max. pass/mail
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/town_sl.cpp
Show inline comments
 
@@ -52,13 +52,12 @@ void UpdateHousesAndTowns()
 
		if (GetHouseNorthPart(house_id) == 0) town->num_houses++;
 
	}
 

	
 
	/* Update the population and num_house dependant values */
 
	FOR_ALL_TOWNS(town) {
 
		UpdateTownRadius(town);
 
		UpdateTownMaxPass(town);
 
	}
 
}
 

	
 
/** Save and load of towns. */
 
static const SaveLoad _town_desc[] = {
 
	SLE_CONDVAR(Town, xy,                    SLE_FILE_U16 | SLE_VAR_U32, 0, 5),
0 comments (0 inline, 0 general)