Skip to content
Permalink
Browse files

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()
  • Loading branch information
paramat committed Feb 19, 2016
1 parent 1ec1a60 commit 997be666e37e9494bb92a50521b4b749156a609c
Showing with 116 additions and 139 deletions.
  1. +114 −139 src/clientmap.cpp
  2. +2 −0 src/clientmap.h

0 comments on commit 997be66

Please sign in to comment.