gear deletion called inappropriately.
authornemo
Fri, 22 Nov 2013 15:23:28 -0500
changeset 9708 7d146637cb81
parent 9706 5178d2263521
child 9710 4cc6ab8cae8c
gear deletion called inappropriately.
hedgewars/uCollisions.pas
--- a/hedgewars/uCollisions.pas	Tue Nov 19 22:15:40 2013 -0500
+++ b/hedgewars/uCollisions.pas	Fri Nov 22 15:23:28 2013 -0500
@@ -95,7 +95,7 @@
     while (t <> nil) and (t^.Kind <> gtMine) do 
         t:= t^.NextGear;
     if (t <> nil) then
-        DeleteGear(t)
+        t^.State:= t^.State or gmDelete
     end;
 end;