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/ai/api/ai_engine.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ai/api') diff --git a/src/ai/api/ai_engine.cpp b/src/ai/api/ai_engine.cpp index a3f5c39cd..72bf32363 100644 --- a/src/ai/api/ai_engine.cpp +++ b/src/ai/api/ai_engine.cpp @@ -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); } -- cgit v1.2.3-70-g09d2