1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 09:44:52 +01:00

Use fixed size storage for Rides, cleanup interface a bit

This commit is contained in:
ζeh Matt
2023-02-21 23:20:48 +02:00
parent 4e45c0176c
commit 063d97f4f2
8 changed files with 63 additions and 44 deletions

View File

@@ -1193,7 +1193,7 @@ namespace OpenRCT2
// Ride ID
cs.ReadWrite(rideId);
auto& ride = *GetOrAllocateRide(rideId);
auto& ride = *RideAllocateAtIndex(rideId);
// Status
cs.ReadWrite(ride.type);