mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-24 06:59:10 +00:00
(svn r6284) -Code Cleanup r6282: cleaned up the code a bit
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user