hedgewars/GSHandlers.inc
branchwebgl
changeset 8446 c18ba8726f5a
parent 8444 75db7bb8dce8
child 8833 c13ebed437cb
--- a/hedgewars/GSHandlers.inc	Sun Jan 27 00:28:57 2013 +0100
+++ b/hedgewars/GSHandlers.inc	Tue Feb 19 22:45:02 2013 +0400
@@ -2226,9 +2226,11 @@
         begin
         doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 30, Gear^.Hedgehog, EXPLAutoSound);
         DeleteGear(Gear);
+        {$IFNDEF PAS2C}
         with mobileRecord do
             if (performRumble <> nil) and (not fastUntilLag) then
                 performRumble(kSystemSoundID_Vibrate);
+        {$ENDIF}
         exit
         end;
     if (GameTicks and $3F) = 0 then
@@ -4318,9 +4320,11 @@
     Gear^.dY.isNegative := not Gear^.dY.isNegative;
 
     Gear^.doStep := @doStepSineGunShotWork;
+    {$IFNDEF PAS2C}
     with mobileRecord do
         if (performRumble <> nil) and (not fastUntilLag) then
             performRumble(kSystemSoundID_Vibrate);
+    {$ENDIF}
 end;
 
 ////////////////////////////////////////////////////////////////////////////////