diff options
author | alberth <alberth@openttd.org> | 2010-08-02 20:47:27 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-08-02 20:47:27 +0000 |
commit | 0e900039f3531f0f64e93e216eb44e45b463d5b7 (patch) | |
tree | 96f4f0630ee6b21d875dcfe08bde38ab453b3a1f /src/economy.cpp | |
parent | 4781f1fa92b18df31bef4e632f0efd50a89ed1d2 (diff) | |
download | openttd-0e900039f3531f0f64e93e216eb44e45b463d5b7.tar.xz |
(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index bc484f2ba..10ec4cdfb 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -523,7 +523,7 @@ static void CompanyCheckBankrupt(Company *c) free(cni); break; } - /* Else, falltrue to case 4... */ + /* FALL THROUGH to case 4... */ } default: case 4: @@ -695,6 +695,7 @@ void RecomputePrices() SetWindowDirty(WC_PAYMENT_RATES, 0); } +/** Let all companies pay the monthly interest on their loan. */ static void CompaniesPayInterest() { const Company *c; @@ -1349,7 +1350,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left) /* if the aircraft carries passengers and is NOT full, then * continue loading, no matter how much mail is in */ if ((v->type == VEH_AIRCRAFT && IsCargoInClass(v->cargo_type, CC_PASSENGERS) && v->cargo_cap > v->cargo.Count()) || - (cargo_not_full && (cargo_full & ~cargo_not_full) == 0)) { // There are still non-full cargos + (cargo_not_full && (cargo_full & ~cargo_not_full) == 0)) { // There are still non-full cargoes finished_loading = false; } } else if (cargo_not_full != 0) { |