mirror of https://github.com/OpenRCT2/OpenRCT2.git
Format S6Exporter.cpp
Pretty much just align field assignments
This commit is contained in:
parent
a83dd095d6
commit
ad7ecc0d85
|
@ -139,7 +139,7 @@ void S6Exporter::Save(IStream * stream, bool isScenario)
|
||||||
|
|
||||||
// Read all written bytes back into a single buffer
|
// Read all written bytes back into a single buffer
|
||||||
stream->SetPosition(0);
|
stream->SetPosition(0);
|
||||||
auto data = std::unique_ptr<uint8, std::function<void(uint8*)>>(stream->ReadArray<uint8>(fileSize), Memory::Free<uint8>);
|
auto data = std::unique_ptr<uint8, std::function<void(uint8 *)>>(stream->ReadArray<uint8>(fileSize), Memory::Free<uint8>);
|
||||||
uint32 checksum = sawyercoding_calculate_checksum(data.get(), fileSize);
|
uint32 checksum = sawyercoding_calculate_checksum(data.get(), fileSize);
|
||||||
|
|
||||||
// Write the checksum on the end
|
// Write the checksum on the end
|
||||||
|
@ -161,7 +161,7 @@ void S6Exporter::Export()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_s6.objects[i] = *((rct_object_entry*)entry);
|
_s6.objects[i] = *((rct_object_entry *)entry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue