diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 587cf24532..881f0339de 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -570,7 +570,7 @@ CommandCost CmdRefitAircraft(TileIndex tile, uint32 flags, uint32 p1, uint32 p2, _returned_refit_capacity = pass; CommandCost cost; - if (IsHumanCompany(v->owner) && new_cid != v->cargo_type) { + if (new_cid != v->cargo_type) { cost = GetRefitCost(v->engine_type); } diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 36b15df671..f6b54934c6 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -2071,7 +2071,7 @@ CommandCost CmdRefitRoadVeh(TileIndex tile, uint32 flags, uint32 p1, uint32 p2, total_capacity += capacity; - if (IsHumanCompany(v->owner) && new_cid != v->cargo_type) { + if (new_cid != v->cargo_type) { cost.AddCost(GetRefitCost(v->engine_type)); } diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index 275b9b9dc1..d18732440b 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -933,7 +933,7 @@ CommandCost CmdRefitShip(TileIndex tile, uint32 flags, uint32 p1, uint32 p2, con } _returned_refit_capacity = capacity; - if (IsHumanCompany(v->owner) && new_cid != v->cargo_type) { + if (new_cid != v->cargo_type) { cost = GetRefitCost(v->engine_type); }