(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user