1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00

Fix creation of new title sequence

This commit is contained in:
Ted John
2016-11-29 17:54:57 +00:00
parent 975cb43137
commit 877080f00c
3 changed files with 5 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ public:
FixViewLocation();
// Check that position is valid
if (_position > (sint32)_sequence->NumCommands)
if (_position >= (sint32)_sequence->NumCommands)
{
_position = 0;
return false;