mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Fix #5219: segfault when opening "misc" tab in options
This commit is contained in:
@@ -67,6 +67,10 @@ namespace TitleSequenceManager
|
||||
|
||||
const TitleSequenceManagerItem * GetItem(size_t i)
|
||||
{
|
||||
if (i >= _items.size())
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
return &_items[i];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user