From b243f6ca9761d75d3e5e957aa02a29500021b7d3 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 4 Oct 2009 20:33:18 +0000 Subject: (svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation. --- src/ship_cmd.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ship_cmd.cpp') 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 */ -- cgit v1.2.3-54-g00ecf