hedgewars/HHHandlers.inc
changeset 4224 99c6d87df131
parent 4168 49ad7bea4a33
child 4233 b4ad20bfe310
--- a/hedgewars/HHHandlers.inc	Tue Nov 09 01:56:22 2010 +0100
+++ b/hedgewars/HHHandlers.inc	Mon Nov 08 22:11:46 2010 -0500
@@ -255,9 +255,15 @@
                                     PlaySound(sndLowGravity);
                                     cGravity:= cMaxWindSpeed
                                     end;
-                      amExtraDamage: cDamageModifier:= _1_5;
+                      amExtraDamage:begin 
+                                    PlaySound(sndHellishImpact4);
+                                    cDamageModifier:= _1_5
+                                    end;
                       amInvulnerable: Invulnerable:= true;
-                      amExtraTime: TurnTimeLeft:= TurnTimeLeft + 30000;
+                      amExtraTime:  begin
+                                    PlaySound(sndSwitchHog);
+                                    TurnTimeLeft:= TurnTimeLeft + 30000
+                                    end;
                       amLaserSight: cLaserSighting:= true;
                       amVampiric: begin
                                   PlaySound(sndOw1, Team^.voicepack);
@@ -871,7 +877,7 @@
 
 if (Gear^.Health = 0) then
     begin
-    if PrvInactive then
+    if PrvInactive or ((GameFlags and gfInfAttack) <> 0) then
         begin
         Gear^.Timer:= 0;
         FollowGear:= Gear;