1
0
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:
mrmbernardi
2025-10-27 01:34:51 +11:00
committed by GitHub
parent fcc915af1c
commit 32b2f2df96

View File

@@ -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;