summaryrefslogtreecommitdiff
path: root/src/engine_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-04-12 17:38:01 +0000
committerfrosch <frosch@openttd.org>2009-04-12 17:38:01 +0000
commit6ebe8d7fc6707dffb75f425eb7eba22a36ec95ce (patch)
tree7134a4bb39e8c09223c7aab8b64b2f8c0312d2f2 /src/engine_gui.h
parent13d6412c22a27f35d67f754786769ac6900757d7 (diff)
downloadopenttd-6ebe8d7fc6707dffb75f425eb7eba22a36ec95ce.tar.xz
(svn r16042) -Feature [FS#1941]: Allow filtering of vehicle purchase lists by cargo. Based on patch by sbr.
Diffstat (limited to 'src/engine_gui.h')
-rw-r--r--src/engine_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine_gui.h b/src/engine_gui.h
index 6f002600b..f78363cdb 100644
--- a/src/engine_gui.h
+++ b/src/engine_gui.h
@@ -7,7 +7,7 @@
#include "sortlist_type.h"
-typedef GUIList<EngineID> GUIEngineList;
+typedef GUIList<EngineID, CargoID> GUIEngineList;
typedef int CDECL EngList_SortTypeFunction(const void*, const void*); ///< argument type for EngList_Sort()
void EngList_Sort(GUIEngineList *el, EngList_SortTypeFunction compare); ///< qsort of the engine list