mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
28813702d6
In the client, raise lower limit from 30 to 45 degrees, to avoid server seeing this as a zoom and loading world beyond the server-set limit. Add minimum in settingtypes.txt and enforce lower limit when set using minetest.conf. In the server, distrust the client-sent FOV if below the heuristic zoom threshold and use the player object property 'zoom_fov' to check it, to protect against hacked clients. |
||
---|---|---|
.. | ||
async | ||
client | ||
common | ||
fstk | ||
game | ||
mainmenu | ||
profiler | ||
init.lua | ||
settingtypes.txt |