mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
* Fix #19756: Crash with title sequences containing no commands * Update changelog.txt
This commit is contained in:
committed by
GitHub
parent
4cd4aaad9f
commit
745279cded
@@ -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