Skip to content

Commit

Permalink
fix(poh): disable codetools in the recently added for loops
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed May 22, 2024
1 parent 391b59b commit cae6cf9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions optional/handlers/poh.simba
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,9 @@ var
mmPoints: TPointArray;
me: TPoint;
begin
{%codetools off}
for attempts downto 0 do
{%codetools on}
begin
me := Self.Position();
obj := Self.RoomObjects[objType];
Expand All @@ -707,7 +709,9 @@ var
mmPoints: TPointArray;
me: TPoint;
begin
{%codetools off}
for attempts downto 0 do
{%codetools on}
begin
me := Self.Position();
obj := Self.RoomObjects[objType];
Expand All @@ -729,7 +733,9 @@ var
mmPoints: TPointArray;
me: TPoint;
begin
{%codetools off}
for attempts downto 0 do
{%codetools on}
begin
me := Self.Position();
obj := Self.RoomObjects[objType];
Expand Down Expand Up @@ -768,7 +774,9 @@ var
angle: Double;
me: TPoint;
begin
{%codetools off}
for attempts downto 0 do
{%codetools on}
begin
me := Self.Position();
obj := Self.RoomObjects[objType];
Expand All @@ -795,7 +803,9 @@ var
angle: Double;
me: TPoint;
begin
{%codetools off}
for attempts downto 0 do
{%codetools on}
begin
me := Self.Position();
obj := Self.RoomObjects[objType];
Expand All @@ -822,7 +832,9 @@ var
angle: Double;
me: TPoint;
begin
{%codetools off}
for attempts downto 0 do
{%codetools on}
begin
me := Self.Position();
obj := Self.RoomObjects[objType];
Expand Down

0 comments on commit cae6cf9

Please sign in to comment.