You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07: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