hedgewars/uGearsHandlersMess.pas
changeset 9539 ab44d44a6177
parent 9526 2fd51591b260
child 9557 a5005b7ca305
equal deleted inserted replaced
9537:1d72831311f6 9539:ab44d44a6177
  4090             end;
  4090             end;
  4091 
  4091 
  4092         if (CurrentHedgehog <> nil) and (CurrentHedgehog^.Gear <> nil)
  4092         if (CurrentHedgehog <> nil) and (CurrentHedgehog^.Gear <> nil)
  4093         and (iterator = CurrentHedgehog^.Gear)
  4093         and (iterator = CurrentHedgehog^.Gear)
  4094         and (CurAmmoGear <> nil)
  4094         and (CurAmmoGear <> nil)
  4095         and (CurAmmoGear^.Kind =gtRope) then
  4095         and (CurAmmoGear^.Kind = gtRope)
       
  4096         and (CurAmmoGear^.Elasticity <> _0) then
  4096                CurAmmoGear^.PortalCounter:= 1;
  4097                CurAmmoGear^.PortalCounter:= 1;
  4097 
  4098 
  4098         if not isbullet and (iterator^.State and gstInvisible = 0)
  4099         if not isbullet and (iterator^.State and gstInvisible = 0)
  4099         and (iterator^.Kind <> gtFlake) then
  4100         and (iterator^.Kind <> gtFlake) then
  4100             FollowGear := iterator;
  4101             FollowGear := iterator;