summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-10-04 20:33:18 +0000
committerfrosch <frosch@openttd.org>2009-10-04 20:33:18 +0000
commitb243f6ca9761d75d3e5e957aa02a29500021b7d3 (patch)
tree980395eb85fe52ceec26d6da44b70d948780b030 /src/engine.cpp
parent5ff6053326c060c0c717a0b5745423dda92d7af9 (diff)
downloadopenttd-b243f6ca9761d75d3e5e957aa02a29500021b7d3.tar.xz
(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 7219d27a1..95ac02828 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -784,8 +784,6 @@ bool IsEngineRefittable(EngineID engine)
/* check if it's an engine that is in the engine array */
if (e == NULL) return false;
- if (e->type == VEH_SHIP && !e->u.ship.refittable) return false;
-
if (!e->CanCarryCargo()) return false;
const EngineInfo *ei = &e->info;