summaryrefslogtreecommitdiff
path: root/src/engine_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-10 21:17:00 +0000
committerrubidium <rubidium@openttd.org>2009-03-10 21:17:00 +0000
commitfa78027ffd1fc6980693a642af9cbd6c6be66e81 (patch)
tree63e9e9e16f424664d411ac157bade37752ada758 /src/engine_func.h
parent733c0c5c5b168949046e6a2445cd884f0116ce68 (diff)
downloadopenttd-fa78027ffd1fc6980693a642af9cbd6c6be66e81.tar.xz
(svn r15666) -Fix [FS#2689]: sorting of engines in the purchase list didn't use the same numbers as the GUI showed, e.g. articulated parts weren't taken into accound when ordering by capacity.
Diffstat (limited to 'src/engine_func.h')
-rw-r--r--src/engine_func.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine_func.h b/src/engine_func.h
index 65e88fe31..2fd8aa956 100644
--- a/src/engine_func.h
+++ b/src/engine_func.h
@@ -25,4 +25,6 @@ void SetCachedEngineCounts();
void SetYearEngineAgingStops();
void StartupOneEngine(Engine *e, Date aging_date);
+uint GetTotalCapacityOfArticulatedParts(EngineID engine, VehicleType type);
+
#endif /* ENGINE_H */