diff --git a/ship_cmd.c b/ship_cmd.c --- a/ship_cmd.c +++ b/ship_cmd.c @@ -1089,7 +1089,7 @@ int32 CmdRefitShip(TileIndex tile, uint3 _returned_refit_capacity = capacity; cost = 0; - if (IS_HUMAN_PLAYER(v->owner) && new_cid != v->cargo_type) { + if (IsHumanPlayer(v->owner) && new_cid != v->cargo_type) { cost = GetRefitCost(v->engine_type); }