mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Remove guarded assertion. (#25420)
This commit is contained in:
@@ -246,7 +246,6 @@ Ride* GetRide(RideId index)
|
||||
|
||||
auto& gameState = getGameState();
|
||||
const auto idx = index.ToUnderlying();
|
||||
assert(idx < gameState.rides.size());
|
||||
if (idx >= gameState.rides.size())
|
||||
{
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user