From: 0gb.us <0gb.us@0gb.us> Date: Wed, 4 Sep 2013 19:09:52 +0000 (-0700) Subject: Standardized method of getting node info in dungeon mapgen. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=211b372e266f18bfb337c7a863c95774111e6987;p=zefram%2Fminetest%2Fminetest_engine.git Standardized method of getting node info in dungeon mapgen. --- diff --git a/src/dungeongen.cpp b/src/dungeongen.cpp index 9528b413..7b529a83 100644 --- a/src/dungeongen.cpp +++ b/src/dungeongen.cpp @@ -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);