changeset 7204 | 522f165cd2e7 |
parent 7195 | 9e6e8e5a4c2e |
child 7268 | 3a61c53346a8 |
--- a/hedgewars/GSHandlers.inc Sat Jun 09 12:15:05 2012 +0200 +++ b/hedgewars/GSHandlers.inc Sat Jun 09 17:05:16 2012 +0400 @@ -1025,7 +1025,9 @@ else AmmoShove(Gear, Gear^.Timer, 20); CheckGearDrowning(Gear); - dec(i) until (i = 0) or (Gear^.Damage > Gear^.Health) or ((Gear^.State and gstDrowning) <> 0); + dec(i) + until (i = 0) or (Gear^.Damage > Gear^.Health) or ((Gear^.State and gstDrowning) <> 0); + if Gear^.Damage > 0 then begin DrawTunnel(oX, oY, Gear^.dX, Gear^.dY, 82 - i, 1);