(svn r6284) -Code Cleanup r6282: cleaned up the code a bit

This commit is contained in:
bjarni
2006-08-31 19:15:01 +00:00
parent 38963a6ed0
commit ece5584d00

View File

@@ -1910,7 +1910,7 @@ static void MaybeReplaceVehicle(Vehicle *v)
uint GenerateVehicleSortList(const Vehicle** sort_list, byte type, PlayerID owner, StationID station, OrderID order, uint16 window_type) uint GenerateVehicleSortList(const Vehicle** sort_list, byte type, PlayerID owner, StationID station, OrderID order, uint16 window_type)
{ {
const uint subtype = (type != VEH_Aircraft) ? Train_Front : 2; const uint subtype = (type != VEH_Aircraft) ? Train_Front : 2;
uint16 n = 0; uint n = 0;
const Vehicle *v; const Vehicle *v;
switch (window_type) { switch (window_type) {