mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 17:19:09 +00:00
(svn r17974) -Fix (r17926)[FS#3300]: C != T
This commit is contained in:
@@ -1414,7 +1414,7 @@ uint GetVehicleCapacity(const Vehicle *v, uint16 *mail_capacity)
|
|||||||
* Note: This might change to become more consistent/flexible. */
|
* Note: This might change to become more consistent/flexible. */
|
||||||
if (e->type != VEH_SHIP) {
|
if (e->type != VEH_SHIP) {
|
||||||
if (e->type == VEH_AIRCRAFT) {
|
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;
|
capacity += e->u.air.mail_capacity;
|
||||||
}
|
}
|
||||||
if (v->cargo_type == CT_MAIL) return capacity;
|
if (v->cargo_type == CT_MAIL) return capacity;
|
||||||
|
Reference in New Issue
Block a user