mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
Fix #4164: Keep on crashing on OpenRCT2 0.0.5
Caused by hrow; instead of hrow Exception() when the image table is too large.
This commit is contained in:
@@ -47,7 +47,7 @@ void ImageTable::Read(IReadObjectContext * context, IStream * stream)
|
||||
if (_data == nullptr)
|
||||
{
|
||||
context->LogError(OBJECT_ERROR_BAD_IMAGE_TABLE, "Image table too large.");
|
||||
throw;
|
||||
throw Exception();
|
||||
}
|
||||
|
||||
// Read g1 element headers
|
||||
|
||||
Reference in New Issue
Block a user