summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-11-05 16:56:53 +0000
committerfrosch <frosch@openttd.org>2009-11-05 16:56:53 +0000
commit828729344d4ea2c10bd46735c414518934b6233d (patch)
treea7c85f40882e3ffdbb8572f6b155e01edc6036ec /src
parent8678730ce34b667113a243a067d9e1de3790b87f (diff)
downloadopenttd-828729344d4ea2c10bd46735c414518934b6233d.tar.xz
(svn r17974) -Fix (r17926)[FS#3300]: C != T
Diffstat (limited to 'src')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index da2e43dfe..bee83a84c 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -1414,7 +1414,7 @@ uint GetVehicleCapacity(const Vehicle *v, uint16 *mail_capacity)
* Note: This might change to become more consistent/flexible. */
if (e->type != VEH_SHIP) {
if (e->type == VEH_AIRCRAFT) {
- if (!IsCargoInClass(v->cargo_type, CT_PASSENGERS)) {
+ if (!IsCargoInClass(v->cargo_type, CC_PASSENGERS)) {
capacity += e->u.air.mail_capacity;
}
if (v->cargo_type == CT_MAIL) return capacity;