unneeded
authornemo
Wed, 05 May 2010 22:03:10 +0000
changeset 3427 b49ed5673727
parent 3426 4ec21c6d6d33
child 3428 46a2694867bc
unneeded
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Wed May 05 15:40:44 2010 +0000
+++ b/hedgewars/uGears.pas	Wed May 05 22:03:10 2010 +0000
@@ -865,7 +865,7 @@
         if (iterator^.Kind = gtPortal) then 
             begin
             tmpGear:= iterator;
-            if iterator^.NextGear <> nil then iterator:= iterator^.NextGear;
+            iterator:= iterator^.NextGear;
             DeleteGear(tmpGear)
             end
         else iterator:= iterator^.NextGear;