(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.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user