trying a little hiss and steam
authornemo
Sun, 28 Feb 2010 17:48:44 +0000
changeset 2886 c7087a565bd2
parent 2885 518e6e66239d
child 2887 a4526fcc26c7
trying a little hiss and steam
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Sun Feb 28 17:32:39 2010 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Feb 28 17:48:44 2010 +0000
@@ -1208,7 +1208,12 @@
 			   doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 50, EXPLAutoSound);
 			   DeleteGear(Gear)
                end
-            else Gear^.Health:= 0;
+            else
+               begin
+			   AddVisualGear(hwRound(Gear^.X) - 4  + Random(8), hwRound(Gear^.Y) - 4 - Random(4), vgtSteam);
+		       PlaySound(sndVaporize);
+               Gear^.Health:= 0;
+               end;
 			exit
 			end;
 		dec(Gear^.Timer);