mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 03:53:07 +01:00
Remove rest of FOR_ALL_RIDES instances
This commit is contained in:
@@ -368,11 +368,9 @@ static int32_t cc_rides(InteractiveConsole& console, const arguments_t& argv)
|
||||
auto price = arg1;
|
||||
if (int_valid[0])
|
||||
{
|
||||
uint16_t rideId{};
|
||||
Ride* ride;
|
||||
FOR_ALL_RIDES (rideId, ride)
|
||||
for (const auto& ride : GetRideManager())
|
||||
{
|
||||
auto rideSetPrice = RideSetPriceAction(rideId, price, true);
|
||||
auto rideSetPrice = RideSetPriceAction(ride.id, price, true);
|
||||
GameActions::Execute(&rideSetPrice);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user