mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix sv6 export not adding all objects (#15419)
This commit is contained in:
@@ -266,7 +266,7 @@ static void ExportObjectList(IObjectManager& objMgr, T& objects)
|
||||
auto& dst = objects[i];
|
||||
|
||||
const auto* object = objMgr.GetLoadedObject(TObjectType, i);
|
||||
if (object == nullptr || object->GetGeneration() != ObjectGeneration::DAT)
|
||||
if (object == nullptr)
|
||||
{
|
||||
// The sv6 format expects null/invalid entries to be filled with 0xFF.
|
||||
std::memset(&dst, 0xFF, sizeof(dst));
|
||||
|
||||
Reference in New Issue
Block a user