Strange "Linepick" situation

Blitz3D Forums/Blitz3D Programming/Strange "Linepick" situation

LinePick(EntityX(gb),EntityY(gb)+h,EntityZ(gb),EntityX(gb),EntityY(gb),EntityZ(gb)+2115)

The above LinePickcommand in my app finds an object which stands between the Entity "gb" and its target.The +h is just variable in a loop that checks different heights along the line.

Now;I got the distance from "gb" to the target two ways.
From the relative position of the object posZ and "gb" posZ and the Blitz distance command.That result was 250.
I did bioth ways just for a double check.

Notice the +2115 in the LinePick command.If I make that number any less the LinePick does not find the object.

Is this as it should be and if it is - why and how is it computed.Otherwise -what the heck???????