mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 13:09:32 +02:00
* don't index past the end of the transitions array (mantis #30829)
git-svn-id: trunk@34775 -
This commit is contained in:
parent
9eb195d285
commit
85f2903b8b
@ -55,7 +55,7 @@ begin
|
||||
end
|
||||
else
|
||||
begin
|
||||
for i:=1 to num_transitions do
|
||||
for i:=1 to num_transitions-1 do
|
||||
if (timer<transitions[i]) then
|
||||
break;
|
||||
i:=type_idxs[i-1];
|
||||
|
Loading…
Reference in New Issue
Block a user