hedgewars/uGears.pas
changeset 13096 d78e65c66573
parent 13031 bef97cc310b0
child 13171 9f80c08cdae9
--- a/hedgewars/uGears.pas	Wed Mar 07 20:27:42 2018 +0100
+++ b/hedgewars/uGears.pas	Wed Mar 07 22:47:55 2018 +0100
@@ -515,8 +515,6 @@
         cLaserSightingSniper:= false
         end;
 
-    if (GameFlags and gfArtillery) = 0 then
-        cArtillery:= false;
     // have to sweep *all* current team hedgehogs since it is theoretically possible if you have enough invulnerabilities and switch turns to make your entire team invulnerable
     if (CurrentTeam <> nil) then
         with CurrentTeam^ do
@@ -735,8 +733,6 @@
 if (GameFlags and gfLaserSight) <> 0 then
     cLaserSighting:= true;
 
-if (GameFlags and gfArtillery) <> 0 then
-    cArtillery:= true;
 for i:= (LAND_WIDTH*LAND_HEIGHT) div 524288+2 downto 0 do
     begin
     rx:= GetRandom(rightX-leftX)+leftX;