add frozen airmines to collision array to make them shovable by blowtorch
authoralfadur
Thu, 29 Nov 2018 01:43:41 +0300
changeset 14359 ce2e67c5af14
parent 14358 94e50f346c57
child 14360 efd2e8e217c9
add frozen airmines to collision array to make them shovable by blowtorch
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Thu Nov 29 01:34:58 2018 +0300
+++ b/hedgewars/uGearsHandlersMess.pas	Thu Nov 29 01:43:41 2018 +0300
@@ -6471,6 +6471,7 @@
                                 begin
 								iter^.Damage:= 0;
 								iter^.State:= iter^.State or gstFrozen;
+                AddCI(iter);
 								if (hwRound(iter^.X) < RightX) and (hwRound(iter^.X) > 0) and 
 									(hwRound(iter^.Y) < LAND_HEIGHT) and (hwRound(iter^.Y) > 0) then
 									begin