diff options
author | paramat <mat.gregory@virginmedia.com> | 2015-03-07 03:15:12 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2015-03-08 03:54:03 +0000 |
commit | d463000595ee2b8bce94e5b99e764be6e1fd52f6 (patch) | |
tree | 89a488c35ff82936ba40462a5673c86eef5a7e09 /src/mapgen.h | |
parent | 267c9f4cb4616afcf07a2a33aaca43a903ac895a (diff) | |
download | hax-minetest-server-d463000595ee2b8bce94e5b99e764be6e1fd52f6.tar.gz hax-minetest-server-d463000595ee2b8bce94e5b99e764be6e1fd52f6.zip |
Heightmaps: Fix uninitialised values in mgv5/mgv6. findGroundLevel: Return -MAP_GENERATION_LIMIT if surface not found
Diffstat (limited to 'src/mapgen.h')
-rw-r--r-- | src/mapgen.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mapgen.h b/src/mapgen.h index c9aee5ef5..756a1f339 100644 --- a/src/mapgen.h +++ b/src/mapgen.h @@ -154,7 +154,6 @@ 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); |