minetest/minetest — pull request #727 by Warr1024 (2013-05-17 19:35:59+00:00)
Title: Use max FOV for isBlockInSight.  Fix/workaround for issue #718.

This addresses 2 problems: the server not sending blocks to the client that are visible (because the server's assumption about the client's FOV is incorrect), and the client not drawing blocks that are visible on-screen.

In both cases, this commit just ignores the FOV (or assumptions thereabout) and uses the worst-case 180-degree FOV, which ensures that at least all required blocks are sent/drawn.

I also removed a redundant check that was repeated 2 lines below with the same values.

In the long run, someone with better geometry skills may want to make another attempt at the optimized solution.