1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-05 00:45:05 -05:00

Standardized method of getting node info in dungeon mapgen.

This commit is contained in:
0gb.us 2013-09-04 12:09:52 -07:00 committed by Sfan5
parent 8489980039
commit 211b372e26

View File

@ -74,7 +74,7 @@ void DungeonGen::generate(ManualMapVoxelManipulator *vm, u32 bseed,
cid_cobble = ndef->getId("mapgen_cobble");
cid_mossycobble = ndef->getId("mapgen_mossycobble");
//cid_torch = ndef->getId("default:torch");
cid_cobblestair = ndef->getId("stairs:stair_cobble");
cid_cobblestair = ndef->getId("mapgen_stair_cobble");
// Dungeon generator doesn't modify places which have this set
vmanip->clearFlag(VMANIP_FLAG_DUNGEON_INSIDE | VMANIP_FLAG_DUNGEON_PRESERVE);