mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-04 13:42:55 +01:00
This commit is contained in:
committed by
Michael Steenbeek
parent
272fc929d1
commit
a39bd39268
@@ -24,6 +24,7 @@
|
||||
- Fix: [#9957] When using 'no money' cheat, guests complain of running out of cash.
|
||||
- Fix: [#9970] Wait for quarter load fails.
|
||||
- Fix: [#10017] Ghost elements influencing ride excitement.
|
||||
- Fix: [#10036] Do not allocate large chunks of memory for save file classification.
|
||||
- Improved: [#9466] Add the rain weather effect to the OpenGL renderer.
|
||||
- Improved: [#9987] Minimum load rounding.
|
||||
|
||||
|
||||
@@ -68,6 +68,9 @@ std::shared_ptr<SawyerChunk> SawyerChunkReader::ReadChunk()
|
||||
try
|
||||
{
|
||||
auto header = _stream->ReadValue<sawyercoding_chunk_header>();
|
||||
if (header.length >= MAX_UNCOMPRESSED_CHUNK_SIZE)
|
||||
throw SawyerChunkException(EXCEPTION_MSG_CORRUPT_CHUNK_SIZE);
|
||||
|
||||
switch (header.encoding)
|
||||
{
|
||||
case CHUNK_ENCODING_NONE:
|
||||
|
||||
Reference in New Issue
Block a user