equal
deleted
inserted
replaced
46 if _0_6 < Gear^.dY then |
46 if _0_6 < Gear^.dY then |
47 PlaySound(sndOw4, false, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack) |
47 PlaySound(sndOw4, false, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack) |
48 else |
48 else |
49 PlaySound(sndOw1, false, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack); |
49 PlaySound(sndOw1, false, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack); |
50 |
50 |
51 if (CurrentHedgehog^.Gear = Gear) and (not Gear^.Invulnerable) then |
|
52 Gear^.State:= Gear^.State or gstLoser; |
|
53 dmg:= modifyDamage(1 + hwRound((hwAbs(Gear^.dY) - _0_4) * 70)); |
51 dmg:= modifyDamage(1 + hwRound((hwAbs(Gear^.dY) - _0_4) * 70)); |
54 inc(Gear^.Damage, dmg); |
52 inc(Gear^.Damage, dmg); |
55 AddDamageTag(hwRound(Gear^.X), hwRound(Gear^.Y) + cHHRadius, dmg, PHedgehog(Gear^.Hedgehog)^.Team^.Clan^.Color); |
53 AddDamageTag(hwRound(Gear^.X), hwRound(Gear^.Y) + cHHRadius, dmg, PHedgehog(Gear^.Hedgehog)^.Team^.Clan^.Color); |
56 end |
54 end |
57 end; |
55 end; |