equal
deleted
inserted
replaced
445 |
445 |
446 if (Gear^.Health <= 0) |
446 if (Gear^.Health <= 0) |
447 or (hwRound(Gear^.X) and LAND_WIDTH_MASK <> 0) |
447 or (hwRound(Gear^.X) and LAND_WIDTH_MASK <> 0) |
448 or (hwRound(Gear^.Y) and LAND_HEIGHT_MASK <> 0) then |
448 or (hwRound(Gear^.Y) and LAND_HEIGHT_MASK <> 0) then |
449 begin |
449 begin |
450 if (GameFlags and gfLaserSight) = 0 then cLaserSighting:= false; |
450 if (Gear^.Kind = gtSniperRifleShot) and ((GameFlags and gfLaserSight) = 0) then cLaserSighting:= false; |
451 if (Gear^.Ammo^.NumPerTurn <= CurrentHedgehog^.AttacksNum) and |
451 if (Gear^.Ammo^.NumPerTurn <= CurrentHedgehog^.AttacksNum) and |
452 ((GameFlags and gfArtillery) = 0) then cArtillery:= false; |
452 ((GameFlags and gfArtillery) = 0) then cArtillery:= false; |
453 Gear^.doStep:= @doStepShotIdle |
453 Gear^.doStep:= @doStepShotIdle |
454 end; |
454 end; |
455 end; |
455 end; |