mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix mapgen using unitialised height map values
This commit is contained in:
parent
3d505b2b5f
commit
daa1c30b35
5 changed files with 22 additions and 5 deletions
|
@ -151,6 +151,7 @@ public:
|
|||
static u32 getBlockSeed2(v3s16 p, int seed);
|
||||
s16 findGroundLevelFull(v2s16 p2d);
|
||||
s16 findGroundLevel(v2s16 p2d, s16 ymin, s16 ymax);
|
||||
void initHeightMap(s16 *dest, size_t len);
|
||||
void updateHeightmap(v3s16 nmin, v3s16 nmax);
|
||||
void updateLiquid(UniqueQueue<v3s16> *trans_liquid, v3s16 nmin, v3s16 nmax);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue