mirror of https://github.com/OpenRCT2/OpenRCT2.git
This commit is contained in:
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:
|
||||
|
|
Loading…
Reference in New Issue