mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r13831) -Codechange: Make purchase list order NewGRF property an extended byte.
This commit is contained in:
parent
05c2a8eba4
commit
7a73bff37a
@ -584,7 +584,7 @@ static bool RailVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf
|
||||
} break;
|
||||
|
||||
case 0x1A: // Alter purchase list sort order
|
||||
AlterVehicleListOrder(e->index, grf_load_byte(&buf));
|
||||
AlterVehicleListOrder(e->index, grf_load_extended(&buf));
|
||||
break;
|
||||
|
||||
case 0x1B: // Powered wagons power bonus
|
||||
@ -793,7 +793,7 @@ static bool RoadVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf
|
||||
break;
|
||||
|
||||
case 0x20: // Alter purchase list sort order
|
||||
AlterVehicleListOrder(e->index, grf_load_byte(&buf));
|
||||
AlterVehicleListOrder(e->index, grf_load_extended(&buf));
|
||||
break;
|
||||
|
||||
default:
|
||||
@ -904,7 +904,7 @@ static bool ShipVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf
|
||||
break;
|
||||
|
||||
case 0x1B: // Alter purchase list sort order
|
||||
AlterVehicleListOrder(e->index, grf_load_byte(&buf));
|
||||
AlterVehicleListOrder(e->index, grf_load_extended(&buf));
|
||||
break;
|
||||
|
||||
default:
|
||||
@ -1013,7 +1013,7 @@ static bool AircraftVehicleChangeInfo(uint engine, int numinfo, int prop, byte *
|
||||
break;
|
||||
|
||||
case 0x1B: // Alter purchase list sort order
|
||||
AlterVehicleListOrder(e->index, grf_load_byte(&buf));
|
||||
AlterVehicleListOrder(e->index, grf_load_extended(&buf));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user