Skip to content

Commit

Permalink
Fix TPointArray.Remove (all)
Browse files Browse the repository at this point in the history
Didn't iterate backwards, someone made an oopsie
  • Loading branch information
slackydev committed May 29, 2023
1 parent c9dd656 commit 015a666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/tpointarrays.simba
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ begin
Arr[0] := Self.Find(Value);
end;

for i := 0 to High(Arr) do
for i:=High(Arr) downto 0 do
Self.Del(Arr[i]);
end;

Expand Down

0 comments on commit 015a666

Please sign in to comment.