summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-07-31 21:02:56 +0000
committeralberth <alberth@openttd.org>2010-07-31 21:02:56 +0000
commita825b4fa5f159604f9f61bafa21b75a22d8944f5 (patch)
tree7a9c837d047157b4e2d0d068c0c3462c7a643ef9 /src/economy.cpp
parentadf94b85297b6a11989617eaa1081c7b1da08b62 (diff)
downloadopenttd-a825b4fa5f159604f9f61bafa21b75a22d8944f5.tar.xz
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 803a246ae..6d35b35d3 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -698,7 +698,7 @@ static void CompaniesPayInterest()
* but... as that number is likely not dividable by 12 (pay each month),
* one needs to account for that in the monthly fee calculations.
* To easily calculate what one should pay "this" month, you calculate
- * what (total) should have been paid up to this month and you substract
+ * what (total) should have been paid up to this month and you subtract
* whatever has been paid in the previous months. This will mean one month
* it'll be a bit more and the other it'll be a bit less than the average
* monthly fee, but on average it will be exact. */
@@ -1306,7 +1306,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
}
}
- /* Only set completly_emptied, if we just unloaded all remaining cargo */
+ /* Only set completely_emptied, if we just unloaded all remaining cargo */
completely_emptied &= anything_unloaded;
/* We update these variables here, so gradual loading still fills
@@ -1340,7 +1340,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 stull non-full cargos
+ (cargo_not_full && (cargo_full & ~cargo_not_full) == 0)) { // There are still non-full cargos
finished_loading = false;
}
} else if (cargo_not_full != 0) {