forked from rosebudai/OpenRCT2-Web
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:
1 parent
5b66f87031
commit
8b79ededd9
2 files changed
+2
-2
No files matched your search
@@ -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