mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Use ride references instead of pointers
This commit is contained in:
committed by
GitHub
parent
6017983e8f
commit
412bf8f8be
@@ -242,7 +242,7 @@ static int32_t cc_rides(InteractiveConsole& console, const arguments_t& argv)
|
||||
else
|
||||
{
|
||||
ride->mode = static_cast<RideMode>(mode & 0xFF);
|
||||
invalidate_test_results(ride);
|
||||
invalidate_test_results(*ride);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user