Why so suspicious?
authorunc0rr
Mon, 15 Aug 2011 20:18:18 +0400
changeset 5572 47cc28299baa
parent 5570 a1eb7555f439
child 5573 cc409ee3ad2e
Why so suspicious?
hedgewars/uCollisions.pas
--- a/hedgewars/uCollisions.pas	Mon Aug 15 10:16:18 2011 -0400
+++ b/hedgewars/uCollisions.pas	Mon Aug 15 20:18:18 2011 +0400
@@ -84,8 +84,9 @@
 if (Count > (MAXRECTSINDEX-20)) then
     begin
     t:= GearsList;
-    while (t <> nil) and (t^.Kind <> gtMine) do t:= t^.NextGear;
-    if (t <> nil) and (t^.Kind = gtMine) then DeleteGear(t)
+    while (t <> nil) and (t^.Kind <> gtMine) do 
+        t:= t^.NextGear;
+    if (t <> nil) then DeleteGear(t)
     end;
 end;