projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Heightmaps: Fix uninitialised values in mgv5/mgv6. findGroundLevel: Return -MAP_GENER...
[oweals/minetest.git]
/
src
/
mapgen_v7.cpp
diff --git
a/src/mapgen_v7.cpp
b/src/mapgen_v7.cpp
index 4b5a10ca14b5c0d6ad0b34fa8c0caed1f7b3c339..09e6e54c2805eb28eee7311a826e22826fa8474b 100644
(file)
--- a/
src/mapgen_v7.cpp
+++ b/
src/mapgen_v7.cpp
@@
-64,8
+64,6
@@
MapgenV7::MapgenV7(int mapgenid, MapgenParams *params, EmergeManager *emerge)
this->heightmap = new s16[csize.X * csize.Z];
this->ridge_heightmap = new s16[csize.X * csize.Z];
- initHeightMap(this->heightmap, csize.X * csize.Z);
-
MapgenV7Params *sp = (MapgenV7Params *)params->sparams;
this->spflags = sp->spflags;