diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mapgen_indev.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapgen_indev.cpp b/src/mapgen_indev.cpp index 7203fc85d..a22e2522f 100644 --- a/src/mapgen_indev.cpp +++ b/src/mapgen_indev.cpp @@ -274,7 +274,9 @@ void MapgenIndev::generateCaves(int max_stone_y) { CaveIndev::CaveIndev(MapgenIndev *mg, PseudoRandom *ps, PseudoRandom *ps2, v3s16 node_min, bool is_large_cave) { + this->mg = mg; this->vm = mg->vm; + this->ndef = mg->ndef; this->water_level = mg->water_level; this->large_cave = is_large_cave; this->ps = ps; |