diff options
author | paramat <mat.gregory@virginmedia.com> | 2016-01-11 00:30:03 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-01-11 01:32:20 +0000 |
commit | 8fc8cb819b60dcaca887056e9fcb9cb7927412f1 (patch) | |
tree | 428d78095efba2c083ab2517a55521febfab0b6c /src/dungeongen.cpp | |
parent | 3e0ea3c6eda27a7b6535570c2c208213be046494 (diff) | |
download | minetest-8fc8cb819b60dcaca887056e9fcb9cb7927412f1.tar.gz minetest-8fc8cb819b60dcaca887056e9fcb9cb7927412f1.tar.bz2 minetest-8fc8cb819b60dcaca887056e9fcb9cb7927412f1.zip |
Mapgen: Various fixes and improvements
Lua_api.txt: Document 'minetest.registered_biomes'
Minimal: Remove 'mapgen_air' alias
Cavegen: Add fallback node for 'mapgen_ice'
Dungeongen: Add fallback node for 'mapgen_river_water_source'
Mgv5: Remove unnecessary '#include util/directiontables.h'
Add missing 'this->'s in makeChunk()
Mgv6: Edit empty line formatting
Remove leading spaces in makeChunk()
Add missing spaces after 'for' and 'if'
Mgv7: Edit empty line formatting
Diffstat (limited to 'src/dungeongen.cpp')
-rw-r--r-- | src/dungeongen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dungeongen.cpp b/src/dungeongen.cpp index cb5ea97b6..ce92319e6 100644 --- a/src/dungeongen.cpp +++ b/src/dungeongen.cpp @@ -68,6 +68,8 @@ DungeonGen::DungeonGen(Mapgen *mapgen, DungeonParams *dparams) // For mapgens using river water dp.c_river_water = mg->ndef->getId("mapgen_river_water_source"); + if (dp.c_river_water == CONTENT_IGNORE) + dp.c_river_water = mg->ndef->getId("mapgen_water_source"); } |