--- a/hedgewars/GSHandlers.inc Sat Mar 07 17:43:25 2009 +0000
+++ b/hedgewars/GSHandlers.inc Sat Mar 07 17:49:11 2009 +0000
@@ -48,8 +48,8 @@
else
PlaySound(sndOw1, false, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack);
-// if (CurrentHedgehog^.Gear = Gear) and (not Gear^.Invulnerable) then
-// Gear^.State:= Gear^.State or gstLoser;
+ if (CurrentHedgehog^.Gear = Gear) and (not Gear^.Invulnerable) then
+ Gear^.State:= Gear^.State or gstLoser;
dmg:= modifyDamage(1 + hwRound((hwAbs(Gear^.dY) - _0_4) * 70));
inc(Gear^.Damage, dmg);
AddDamageTag(hwRound(Gear^.X), hwRound(Gear^.Y) + cHHRadius, dmg, PHedgehog(Gear^.Hedgehog)^.Team^.Clan^.Color);
@@ -1709,7 +1709,7 @@
dmg:= cakeDmg * 2 - hwRound(Distance(gi^.X - Gear^.X, gi^.Y - Gear^.Y));
if (dmg > 1) and (gi^.Kind = gtHedgehog) then
if (CurrentHedgehog^.Gear = gi) and (not gi^.Invulnerable) then
-// gi^.State:= gi^.State or gstLoser
+ gi^.State:= gi^.State or gstLoser
else
gi^.State:= gi^.State or gstWinner;
gi:= gi^.NextGear