1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Ensure all rides names are cleared on map load

This commit is contained in:
ζeh Matt
2023-02-21 23:45:11 +02:00
parent b1667d3423
commit 6a5bfa5cad

View File

@@ -937,6 +937,7 @@ void RideInitAll()
std::for_each(std::begin(_rides), std::end(_rides), [](auto& ride) {
ride.id = RideId::GetNull();
ride.type = RIDE_TYPE_NULL;
ride.custom_name = {};
});
_maxRideSize = 0;
}