# HG changeset patch # User sheepluva # Date 1288577144 -3600 # Node ID 7ca17cb94992d67cd4774ecc3e12c0b5c6431f31 # Parent f7412772f85d56393f3d395cc98e5a43670537ca we had it with you intolerant portals\! diff -r f7412772f85d -r 7ca17cb94992 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Mon Nov 01 02:47:30 2010 +0100 +++ b/hedgewars/GSHandlers.inc Mon Nov 01 03:05:44 2010 +0100 @@ -3471,9 +3471,9 @@ if poffs < _0 then continue; - // don't port stuff that isn't really close; - if not isbullet and (poffs > (r + _3)) then - continue; + // + // gears that make it till here will definately be ported + // if isbullet then poffs:= _1_5; @@ -3490,10 +3490,6 @@ // calc gear offset in portal normal vector direction noffs:= (nx * ox + ny * oy); - // don't port stuff that misses the portal entrance - if noffs > (r + _1_5) then - continue; - // move stuff with high normal offset close to the portal's center if not isbullet then begin @@ -3502,10 +3498,6 @@ noffs:= noffs - SignAs(s,noffs) end; - // - // gears that make it till here will definately be ported - // - iterator^.Active := true; iterator^.State := iterator^.State or gstMoving; DeleteCI(iterator);