(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation.

This commit is contained in:
frosch
2009-10-04 20:33:18 +00:00
parent 5ff6053326
commit b243f6ca97
6 changed files with 7 additions and 10 deletions

View File

@@ -55,7 +55,6 @@
if (GetCargoType(engine_id) == cargo_id) return true;
if (cargo_id == CT_MAIL && ::Engine::Get(engine_id)->type == VEH_AIRCRAFT) return true;
if (::Engine::Get(engine_id)->type == VEH_SHIP && !ShipVehInfo(engine_id)->refittable) return false;
return ::CanRefitTo(engine_id, cargo_id);
}