summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-08-14 20:25:29 +0000
committertron <tron@openttd.org>2006-08-14 20:25:29 +0000
commitba146839129e30f122fe247cdc052166d8edc08a (patch)
tree22316d8ec4aa0a3bc1a32f91568adc623e6c4b9a /window.h
parentabe5e04ddabe43ef019f95ebd5f41faef2886af1 (diff)
downloadopenttd-ba146839129e30f122fe247cdc052166d8edc08a.tar.xz
(svn r5894) Remove a totally unnecessary indirection in the vehicle sorter code. Less code, less data, simply better
Diffstat (limited to 'window.h')
-rw-r--r--window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.h b/window.h
index 353e6bc12..a5700f22e 100644
--- a/window.h
+++ b/window.h
@@ -431,7 +431,7 @@ typedef enum VehicleListFlags {
} VehicleListFlags;
typedef struct vehiclelist_d {
- SortStruct *sort_list;
+ const Vehicle** sort_list;
uint16 list_length;
byte sort_type;
VehicleListFlags flags;