forked from rosebudai/OpenRCT2-Web
* Fix #19756: Crash with title sequences containing no commands * Update changelog.txt
This commit is contained in:
1 parent
4cd4aaad9f
commit
745279cded
2 files changed
+6
No files matched your search
@@ -1,5 +1,6 @@
|
||||
0.4.5 (in development)
|
||||
------------------------------------------------------------------------
|
||||
- Fix: [#19756] Crash with title sequences containing no commands
|
||||
|
||||
0.4.4 (2023-03-28)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -110,6 +110,11 @@ namespace OpenRCT2::Title
|
||||
return false;
|
||||
}
|
||||
|
||||
if (_sequence->Commands.empty())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// Run commands in order, until we reach one that is not instantly done
|
||||
int32_t entryPosition = _position;
|
||||
while (true)
|
||||
|
||||
Reference in new issue
Block a user