hedgewars/uGears.pas
changeset 12306 cdd884397760
parent 12210 442bab755bb4
child 12322 9aa483762025
equal deleted inserted replaced
12305:d3a52e51efd4 12306:cdd884397760
   520         cVampiric:= false;
   520         cVampiric:= false;
   521 
   521 
   522     cDamageModifier:= _1;
   522     cDamageModifier:= _1;
   523 
   523 
   524     if (GameFlags and gfLaserSight) = 0 then
   524     if (GameFlags and gfLaserSight) = 0 then
       
   525         begin
   525         cLaserSighting:= false;
   526         cLaserSighting:= false;
       
   527         cLaserSightingSniper:= false
       
   528         end;
   526 
   529 
   527     if (GameFlags and gfArtillery) = 0 then
   530     if (GameFlags and gfArtillery) = 0 then
   528         cArtillery:= false;
   531         cArtillery:= false;
   529     // 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
   532     // 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
   530     if (CurrentTeam <> nil) then
   533     if (CurrentTeam <> nil) then