hedgewars/GSHandlers.inc
changeset 7589 63d937a764e2
parent 7581 ea509b70e03d
child 7592 cf67e58313ea
equal deleted inserted replaced
7587:688076d61b83 7589:63d937a764e2
  4039         // end of list?
  4039         // end of list?
  4040         if iterator = nil then
  4040         if iterator = nil then
  4041             break;
  4041             break;
  4042 
  4042 
  4043         // don't port portals or other gear that wouldn't make sense
  4043         // don't port portals or other gear that wouldn't make sense
  4044         if (iterator^.Kind in [gtPortal, gtRope])
  4044         if (iterator^.Kind in [gtPortal, gtRope, gtAirAttack])
  4045         or (iterator^.PortalCounter > 32) then
  4045         or (iterator^.PortalCounter > 32) then
  4046             continue;
  4046             continue;
  4047 
  4047 
  4048         // don't port hogs on rope
  4048         // don't port hogs on rope
  4049         // TODO: this will also prevent hogs while falling after rope use from
  4049         // TODO: this will also prevent hogs while falling after rope use from