summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index 275b9b9dc..d18732440 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);
}