mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Remove void* obj from RideEntry
This commit is contained in:
@@ -740,11 +740,9 @@ private:
|
||||
if (rideObject == nullptr)
|
||||
continue;
|
||||
|
||||
const auto* entry = static_cast<RideObjectEntry*>(rideObject->GetLegacyData());
|
||||
if (entry == nullptr)
|
||||
continue;
|
||||
const auto& entry = rideObject->GetEntry();
|
||||
|
||||
for (auto rideType : entry->ride_type)
|
||||
for (auto rideType : entry.ride_type)
|
||||
{
|
||||
if (rideType < _rideTypeToObjectMap.size())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user