changeset 5969 | 6b245d2215c2 |
parent 5940 | c025b4842cb4 |
child 5970 | b0ea168b60e1 |
--- a/hedgewars/GSHandlers.inc Mon Sep 19 23:35:07 2011 +0200 +++ b/hedgewars/GSHandlers.inc Tue Sep 20 12:02:58 2011 -0400 @@ -5126,7 +5126,7 @@ if (Gear^.Pos = 1) and (GameTicks and $1F = 0) and (Gear^.Power < 255) then begin inc(Gear^.Power); - if (Gear^.Power = 172) and (Gear^.Hedgehog^.Gear <> nil) then + if (Gear^.Power = 172) and (Gear^.Hedgehog^.Gear <> nil) and ((Gear^.Hedgehog^.Gear^.State and gstHHDeath) = 0) then begin with Gear^.Hedgehog^.Gear^ do begin