diff options
author | paramat <mat.gregory@virginmedia.com> | 2016-02-17 02:39:21 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-02-19 14:51:41 +0000 |
commit | 997be666e37e9494bb92a50521b4b749156a609c (patch) | |
tree | d2e51070eae5bdc9923b109907d048d061a983a3 /src/script/common/c_content.cpp | |
parent | 1ec1a605d664b42a034cecb9f2e768fab3d738d4 (diff) | |
download | minetest-997be666e37e9494bb92a50521b4b749156a609c.tar.gz minetest-997be666e37e9494bb92a50521b4b749156a609c.tar.bz2 minetest-997be666e37e9494bb92a50521b4b749156a609c.zip |
Clientmap: Define p_nodes_min/max as v3s32 instead of v3s16
'cam_pos_nodes -/+ box_nodes_d' can exceed the range of v3s16
when a player is near the world edge using a large view range
This previously caused world to disappear
Create new function getBlocksInViewRange() called from
updateDrawList() and renderMap()
Correct code style throughout updateDrawList() and renderMap()
Diffstat (limited to 'src/script/common/c_content.cpp')
0 files changed, 0 insertions, 0 deletions