(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

@@ -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;