summaryrefslogtreecommitdiff
path: root/src/engine_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-16 22:02:12 +0000
committerrubidium <rubidium@openttd.org>2008-12-16 22:02:12 +0000
commit2e916a154fdb19fbdc93c68bc2f3702162f400c5 (patch)
tree2eec1532bcceec638b2cb9b9b38dc6280ecc303a /src/engine_func.h
parent4c01a1c6af8ed3687a4c0291a8a2cae2eb83bb0d (diff)
downloadopenttd-2e916a154fdb19fbdc93c68bc2f3702162f400c5.tar.xz
(svn r14683) -Change: only say a engine/vehicle is refittable when it can be refitted to at least two cargo type or when it has subcargos.
NOTE: it is still possible that a vehicle is marked refittable when there is nothing to refit to, e.g. when only one subcargo is available but that cannot be determined without a vehicle chain.
Diffstat (limited to 'src/engine_func.h')
-rw-r--r--src/engine_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine_func.h b/src/engine_func.h
index 595644375..942f90d1a 100644
--- a/src/engine_func.h
+++ b/src/engine_func.h
@@ -26,6 +26,7 @@ void LoadCustomEngineNames();
void DeleteCustomEngineNames();
bool IsEngineBuildable(EngineID engine, VehicleType type, CompanyID company);
+bool IsEngineRefittable(EngineID engine);
CargoID GetEngineCargoType(EngineID engine);
void SetCachedEngineCounts();