From fa78027ffd1fc6980693a642af9cbd6c6be66e81 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 10 Mar 2009 21:17:00 +0000 Subject: (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. --- src/engine_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine_gui.cpp') diff --git a/src/engine_gui.cpp b/src/engine_gui.cpp index ce20e8756..84a344c82 100644 --- a/src/engine_gui.cpp +++ b/src/engine_gui.cpp @@ -109,7 +109,7 @@ void ShowEnginePreviewWindow(EngineID engine) AllocateWindowDescFront(&_engine_preview_desc, engine); } -static uint GetTotalCapacityOfArticulatedParts(EngineID engine, VehicleType type) +uint GetTotalCapacityOfArticulatedParts(EngineID engine, VehicleType type) { uint total = 0; -- cgit v1.2.3-54-g00ecf