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);
|
||||
|
||||
ReplayRecordFile file = { .magic = _currentRecording->magic,
|
||||
.version = _currentRecording->version,
|
||||
.uncompressedSize = streamLength,
|
||||
.data = data };
|
||||
ReplayRecordFile file{ _currentRecording->magic, _currentRecording->version, streamLength, data };
|
||||
|
||||
auto compressBuf = std::make_unique<unsigned char[]>(compressLength);
|
||||
compress2(
|
||||
|
||||
Reference in New Issue
Block a user