mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +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;
|
} break;
|
||||||
|
|
||||||
case 0x1A: // Alter purchase list sort order
|
case 0x1A: // Alter purchase list sort order
|
||||||
AlterVehicleListOrder(e->index, grf_load_byte(&buf));
|
AlterVehicleListOrder(e->index, grf_load_extended(&buf));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x1B: // Powered wagons power bonus
|
case 0x1B: // Powered wagons power bonus
|
||||||
@ -793,7 +793,7 @@ static bool RoadVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x20: // Alter purchase list sort order
|
case 0x20: // Alter purchase list sort order
|
||||||
AlterVehicleListOrder(e->index, grf_load_byte(&buf));
|
AlterVehicleListOrder(e->index, grf_load_extended(&buf));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -904,7 +904,7 @@ static bool ShipVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x1B: // Alter purchase list sort order
|
case 0x1B: // Alter purchase list sort order
|
||||||
AlterVehicleListOrder(e->index, grf_load_byte(&buf));
|
AlterVehicleListOrder(e->index, grf_load_extended(&buf));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -1013,7 +1013,7 @@ static bool AircraftVehicleChangeInfo(uint engine, int numinfo, int prop, byte *
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x1B: // Alter purchase list sort order
|
case 0x1B: // Alter purchase list sort order
|
||||||
AlterVehicleListOrder(e->index, grf_load_byte(&buf));
|
AlterVehicleListOrder(e->index, grf_load_extended(&buf));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user