diff options
author | frosch <frosch@openttd.org> | 2009-10-04 20:33:18 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-10-04 20:33:18 +0000 |
commit | b243f6ca9761d75d3e5e957aa02a29500021b7d3 (patch) | |
tree | 980395eb85fe52ceec26d6da44b70d948780b030 /src/ship_cmd.cpp | |
parent | 5ff6053326c060c0c717a0b5745423dda92d7af9 (diff) | |
download | openttd-b243f6ca9761d75d3e5e957aa02a29500021b7d3.tar.xz |
(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation.
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index 82ccba38e..2971b35c1 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -920,7 +920,6 @@ CommandCost CmdRefitShip(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 if (v->vehstatus & VS_CRASHED) return_cmd_error(STR_ERROR_CAN_T_REFIT_DESTROYED_VEHICLE); /* Check cargo */ - if (!ShipVehInfo(v->engine_type)->refittable) return CMD_ERROR; if (new_cid >= NUM_CARGO || !CanRefitTo(v->engine_type, new_cid)) return CMD_ERROR; /* Check the refit capacity callback */ |