mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 07:44:38 +01:00
Widen Vehicle::update_flags to 32 bits (#19340)
* Expand update_flags to uint32 * move IsCrashedVehicle to update_flags * rename update_flags to Flags * Update replays --------- Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
@@ -73,12 +73,11 @@ Vehicle* CableLiftSegmentCreate(
|
||||
current->SetTrackType(TrackElemType::CableLiftHill);
|
||||
current->SetTrackDirection(current->sprite_direction >> 3);
|
||||
current->track_progress = 164;
|
||||
current->update_flags = VEHICLE_UPDATE_FLAG_COLLISION_DISABLED;
|
||||
current->Flags = VEHICLE_UPDATE_FLAG_COLLISION_DISABLED;
|
||||
current->SetState(Vehicle::Status::MovingToEndOfStation, 0);
|
||||
current->num_peeps = 0;
|
||||
current->next_free_seat = 0;
|
||||
current->BoatLocation.SetNull();
|
||||
current->IsCrashedVehicle = false;
|
||||
return current;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user