diff options
author | smatz <smatz@openttd.org> | 2009-01-04 18:34:23 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-01-04 18:34:23 +0000 |
commit | 67bf6a0998eb7e0be39449ca5b2563ace66b3a30 (patch) | |
tree | 24e7c278186d5ebd3bd6bce940783e6debc48253 /src/date.cpp | |
parent | f1cc20edc076a550615e1da3f1d453c47d6e55c2 (diff) | |
download | openttd-67bf6a0998eb7e0be39449ca5b2563ace66b3a30.tar.xz |
(svn r14835) -Change: apply the 'warn if train's income is negative' setting to other vehicle types, too
Diffstat (limited to 'src/date.cpp')
-rw-r--r-- | src/date.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/date.cpp b/src/date.cpp index 9d2f8e29f..f06640d80 100644 --- a/src/date.cpp +++ b/src/date.cpp @@ -165,10 +165,7 @@ extern void IndustryMonthlyLoop(); extern void StationMonthlyLoop(); extern void CompaniesYearlyLoop(); -extern void TrainsYearlyLoop(); -extern void RoadVehiclesYearlyLoop(); -extern void AircraftYearlyLoop(); -extern void ShipsYearlyLoop(); +extern void VehiclesYearlyLoop(); extern void TownsYearlyLoop(); extern void ShowEndGameChart(); @@ -270,10 +267,7 @@ void IncreaseDate() /* yes, call various yearly loops */ CompaniesYearlyLoop(); - TrainsYearlyLoop(); - RoadVehiclesYearlyLoop(); - AircraftYearlyLoop(); - ShipsYearlyLoop(); + VehiclesYearlyLoop(); TownsYearlyLoop(); #ifdef ENABLE_NETWORK if (_network_server) NetworkServerYearlyLoop(); |