diff options
author | tron <tron@openttd.org> | 2006-08-14 20:25:29 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-08-14 20:25:29 +0000 |
commit | ba146839129e30f122fe247cdc052166d8edc08a (patch) | |
tree | 22316d8ec4aa0a3bc1a32f91568adc623e6c4b9a /window.h | |
parent | abe5e04ddabe43ef019f95ebd5f41faef2886af1 (diff) | |
download | openttd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |