hedgewars/GSHandlers.inc
changeset 3682 45b416c5b976
parent 3640 54676a34b9ad
child 3704 ed2b9c7fb260
equal deleted inserted replaced
3681:1ee5b476e6b5 3682:45b416c5b976
   184             if particle <> nil then particle^.dX := particle^.dX + (Gear^.dX.QWordValue / 21474836480);
   184             if particle <> nil then particle^.dX := particle^.dX + (Gear^.dX.QWordValue / 21474836480);
   185         end;
   185         end;
   186 
   186 
   187         if (Gear^.Invulnerable) then exit;
   187         if (Gear^.Invulnerable) then exit;
   188 
   188 
   189         if _0_6 < Gear^.dY then
   189         //if _0_6 < Gear^.dY then
   190             PlaySound(sndOw4, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack)
   190         //    PlaySound(sndOw4, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack)
   191         else
   191         //else
   192             PlaySound(sndOw1, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack);
   192         //    PlaySound(sndOw1, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack);
   193 
   193 
   194         ApplyDamage(Gear, dmg);
   194         ApplyDamage(Gear, dmg, dsFall);
   195     end
   195     end
   196 end;
   196 end;
   197 
   197 
   198 ////////////////////////////////////////////////////////////////////////////////
   198 ////////////////////////////////////////////////////////////////////////////////
   199 ////////////////////////////////////////////////////////////////////////////////
   199 ////////////////////////////////////////////////////////////////////////////////