diff options
author | rubidium <rubidium@openttd.org> | 2009-03-10 21:17:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-10 21:17:00 +0000 |
commit | 0aeed2b96a2586e30b2d1e68cee2f5ed61ae66f1 (patch) | |
tree | 63e9e9e16f424664d411ac157bade37752ada758 /src/engine_func.h | |
parent | 812f6b8676fddf6bd391337dbbefce060992fbe5 (diff) | |
download | openttd-0aeed2b96a2586e30b2d1e68cee2f5ed61ae66f1.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.h | 2 |
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 */ |