mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Revert porting errors
This commit is contained in:
@@ -381,7 +381,7 @@ private:
|
||||
}
|
||||
if (slot.has_value())
|
||||
{
|
||||
auto object = GetOrLoadObject(ori);
|
||||
auto* object = GetOrLoadObject(ori);
|
||||
if (object != nullptr)
|
||||
{
|
||||
if (_loadedObjects.size() <= static_cast<size_t>(*slot))
|
||||
@@ -389,7 +389,7 @@ private:
|
||||
_loadedObjects.resize(slot.value() + 1);
|
||||
}
|
||||
loadedObject = object;
|
||||
_loadedObjects[slot.value()] = std::move(object);
|
||||
_loadedObjects[slot.value()] = object;
|
||||
UpdateSceneryGroupIndexes();
|
||||
ResetTypeToRideEntryIndexMap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user