diff --git a/src/openrct2/peep/Guest.cpp b/src/openrct2/peep/Guest.cpp index f95bbfe3f6..a370acec78 100644 --- a/src/openrct2/peep/Guest.cpp +++ b/src/openrct2/peep/Guest.cpp @@ -3690,6 +3690,8 @@ void Guest::UpdateRideFreeVehicleCheck() return; } vehicle = vehicle->GetCar(CurrentCar); + if (vehicle == nullptr) + return; rct_ride_entry* ride_entry = vehicle->GetRideEntry(); if (ride_entry == nullptr)