hedgewars/GSHandlers.inc
changeset 4168 49ad7bea4a33
parent 4160 043c17a8b3ca
child 4182 5240a84df702
--- a/hedgewars/GSHandlers.inc	Sun Nov 07 18:39:34 2010 +0300
+++ b/hedgewars/GSHandlers.inc	Sun Nov 07 19:24:37 2010 +0300
@@ -352,7 +352,7 @@
     dec(Gear^.Timer);
     if Gear^.Timer = 1000 then // might need adjustments
         case Gear^.Kind of 
-            gtAmmo_Bomb: makeHogsWorry(Gear^.X, Gear^.Y, 50);
+            gtBomb: makeHogsWorry(Gear^.X, Gear^.Y, 50);
             gtClusterBomb: makeHogsWorry(Gear^.X, Gear^.Y, 20);
             gtWatermelon: makeHogsWorry(Gear^.X, Gear^.Y, 75);
             gtHellishBomb: makeHogsWorry(Gear^.X, Gear^.Y, 90);
@@ -376,7 +376,7 @@
     if Gear^.Timer = 0 then
     begin
         case Gear^.Kind of 
-            gtAmmo_Bomb: doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 50, EXPLAutoSound);
+            gtBomb: doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 50, EXPLAutoSound);
             gtBall: doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 40, EXPLAutoSound);
             gtClusterBomb: 
                 begin
@@ -509,7 +509,7 @@
 end;
 
 ////////////////////////////////////////////////////////////////////////////////
-procedure doStepGrenade(Gear: PGear);
+procedure doStepShell(Gear: PGear);
 begin
     AllInactive := false;
     Gear^.dX := Gear^.dX + cWindSpeed;