hedgewars/GSHandlers.inc
changeset 3382 633046fa040c
parent 3378 4f2185ed8ca8
child 3384 7eb4707d43f0
--- a/hedgewars/GSHandlers.inc	Thu Apr 29 21:25:51 2010 +0000
+++ b/hedgewars/GSHandlers.inc	Fri Apr 30 12:19:25 2010 +0000
@@ -270,6 +270,7 @@
         gtClusterBomb: makeHogsWorry(Gear^.X, Gear^.Y, 20);
         gtWatermelon: makeHogsWorry(Gear^.X, Gear^.Y, 75);
         gtHellishBomb: makeHogsWorry(Gear^.X, Gear^.Y, 90);
+        gtGasBomb: makeHogsWorry(Gear^.X, Gear^.Y, 50);
     end;
 
 if (Gear^.Kind = gtBall) and ((Gear^.State and gstTmpFlag) <> 0) then
@@ -321,6 +322,7 @@
                     if i mod 2 <> 0 then Fire^.State:= Fire^.State or gsttmpFlag;
                     end
                 end;
+		gtGasBomb: doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 50, EXPLAutoSound or EXPLPoisoned);
         end;
     DeleteGear(Gear);
     exit
@@ -3106,4 +3108,4 @@
     end
 else
     Gear^.dY:= Gear^.dY + cGravity * 2; // let it fall faster so itdoesn't take too long for the whole attack
-end;
\ No newline at end of file
+end;