(svn r5894) Remove a totally unnecessary indirection in the vehicle sorter code. Less code, less data, simply better

This commit is contained in:
tron
2006-08-14 20:25:29 +00:00
parent 4382cd6b91
commit bdb843950a
6 changed files with 35 additions and 41 deletions

View File

@@ -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;