Change: Add CargoTypes type for cargo masks. (#6790)
This commit is contained in:
@@ -219,7 +219,7 @@ bool Vehicle::NeedsServicing() const
|
||||
if (replace_when_old && !v->NeedsAutorenewing(c, false)) continue;
|
||||
|
||||
/* Check refittability */
|
||||
uint32 available_cargo_types, union_mask;
|
||||
CargoTypes available_cargo_types, union_mask;
|
||||
GetArticulatedRefitMasks(new_engine, true, &union_mask, &available_cargo_types);
|
||||
/* Is there anything to refit? */
|
||||
if (union_mask != 0) {
|
||||
|
Reference in New Issue
Block a user