mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Use 16-bit ride_id_t thoughout and raise RIDE_ID_NULL (#14411)
* Replace RIDE_ENTRY_INDEX_NULL with OBJECT_ENTRY_INDEX_NULL Ride entries are objects like any other, so there is little point having separate constants. * Use ride_id_t in many more places * Change RIDE_ID_NULL to 0xFFFF * Increment network version * Update replays Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
committed by
GitHub
parent
cbefc4fe38
commit
7344b7fbfd
@@ -26,7 +26,7 @@ Vehicle* cable_lift_segment_create(
|
||||
{
|
||||
Vehicle* current = CreateEntity<Vehicle>();
|
||||
current->ride = ride.id;
|
||||
current->ride_subtype = RIDE_ENTRY_INDEX_NULL;
|
||||
current->ride_subtype = OBJECT_ENTRY_INDEX_NULL;
|
||||
if (head)
|
||||
{
|
||||
ride.cable_lift = current->sprite_index;
|
||||
|
||||
Reference in New Issue
Block a user