From 3d467cabe5ff086a76ecee1c9ae91da3f3caf35d Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 23 Nov 2008 14:17:41 +0000 Subject: (svn r14611) -Fix (r13437)[FS#2421]: Store the age of a house in the map array instead of the construction year. Note: Savegames from r13437 to now are broken and have a age of 255 years for a lot houses. --- src/date.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/date.cpp') diff --git a/src/date.cpp b/src/date.cpp index d477b7359..4b4b94bb0 100644 --- a/src/date.cpp +++ b/src/date.cpp @@ -171,6 +171,7 @@ extern void TrainsYearlyLoop(); extern void RoadVehiclesYearlyLoop(); extern void AircraftYearlyLoop(); extern void ShipsYearlyLoop(); +extern void TownsYearlyLoop(); extern void ShowEndGameChart(); @@ -275,6 +276,7 @@ void IncreaseDate() RoadVehiclesYearlyLoop(); AircraftYearlyLoop(); ShipsYearlyLoop(); + TownsYearlyLoop(); #ifdef ENABLE_NETWORK if (_network_server) NetworkServerYearlyLoop(); #endif /* ENABLE_NETWORK */ -- cgit v1.2.3-54-g00ecf