Remove airmines on solid land too
authornemo
Thu, 29 Nov 2018 08:41:18 -0500
changeset 14345 05c1d471694f
parent 14344 efd2e8e217c9
child 14346 d5317635f368
Remove airmines on solid land too
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Thu Nov 29 03:26:35 2018 +0100
+++ b/hedgewars/uGearsHandlersMess.pas	Thu Nov 29 08:41:18 2018 -0500
@@ -2073,7 +2073,7 @@
 		begin
 		if Gear^.Damage > 0 then
 			begin
-			doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), Gear^.Boom, Gear^.Hedgehog, EXPLAutoSound);
+			doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), Gear^.Boom, Gear^.Hedgehog, EXPLAutoSound or EXPLForceDraw);
 			DeleteGear(Gear)
 			end;
 		exit