summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index d58441865..7e54656a6 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -144,7 +144,7 @@ bool Vehicle::NeedsServicing() const
if (union_mask != 0) {
CargoID cargo_type;
/* We cannot refit to mixed cargoes in an automated way */
- if (IsArticulatedVehicleCarryingDifferentCargos(v, &cargo_type)) continue;
+ if (IsArticulatedVehicleCarryingDifferentCargoes(v, &cargo_type)) continue;
/* Did the old vehicle carry anything? */
if (cargo_type != CT_INVALID) {