Remove guarded assertion. (#25420)

This commit is contained in:
mrmbernardi authored and GitHub committed 2025-10-27 01:34:51 +11:00
1 parent fcc915af1c
commit 32b2f2df96
1 file changed
-1
-1
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;