# HG changeset patch # User nemo # Date 1275764442 0 # Node ID 9327fae93244688aacf6a1bd794b558c96673030 # Parent 8fb007d36c098804c3e2311ebf1ed8bcf67cd363 Remove decrement of iterator health. Might fix weird health bug. diff -r 8fb007d36c09 -r 9327fae93244 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