hedgewars/GSHandlers.inc
changeset 3685 5fdf49ace96c
parent 3682 45b416c5b976
child 3704 ed2b9c7fb260
equal deleted inserted replaced
3684:0c34dbfdea77 3685:5fdf49ace96c
   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 ////////////////////////////////////////////////////////////////////////////////