Format S6Exporter.cpp

Pretty much just align field assignments
This commit is contained in:
Michał Janiszewski 2017-04-24 22:33:00 +02:00
parent a83dd095d6
commit ad7ecc0d85
1 changed files with 82 additions and 82 deletions

View File

@ -139,7 +139,7 @@ void S6Exporter::Save(IStream * stream, bool isScenario)
// Read all written bytes back into a single buffer
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);
// Write the checksum on the end
@ -161,7 +161,7 @@ void S6Exporter::Export()
}
else
{
_s6.objects[i] = *((rct_object_entry*)entry);
_s6.objects[i] = *((rct_object_entry *)entry);
}
}