mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
do not use designated initializer
This commit is contained in:
@@ -304,10 +304,7 @@ namespace OpenRCT2
|
|||||||
|
|
||||||
MemoryStream data(compressLength);
|
MemoryStream data(compressLength);
|
||||||
|
|
||||||
ReplayRecordFile file = { .magic = _currentRecording->magic,
|
ReplayRecordFile file{ _currentRecording->magic, _currentRecording->version, streamLength, data };
|
||||||
.version = _currentRecording->version,
|
|
||||||
.uncompressedSize = streamLength,
|
|
||||||
.data = data };
|
|
||||||
|
|
||||||
auto compressBuf = std::make_unique<unsigned char[]>(compressLength);
|
auto compressBuf = std::make_unique<unsigned char[]>(compressLength);
|
||||||
compress2(
|
compress2(
|
||||||
|
|||||||
Reference in New Issue
Block a user