Remove decrement of iterator health. Might fix weird health bug.
authornemo
Sat, 05 Jun 2010 19:00:42 +0000
changeset 3497 9327fae93244
parent 3496 8fb007d36c09
child 3498 1c74e277069c
Remove decrement of iterator health. Might fix weird health bug.
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Sat Jun 05 18:50:08 2010 +0000
+++ b/hedgewars/GSHandlers.inc	Sat Jun 05 19:00:42 2010 +0000
@@ -3268,11 +3268,8 @@
         iterator^.dX := s * iterator^.dX;
         iterator^.dY := s * iterator^.dY;
 
-        if Gear^.Health > 1 then
-        begin
-            dec(Gear^.Health);
-            dec(iterator^.Health);
-        end;
+        if Gear^.Health > 1 then dec(Gear^.Health);
+            //dec(iterator^.Health);??
 
         // breaks (some) loops
         if Distance(iterator^.dX, iterator^.dY) > _0_96 then