Standardized method of getting node info in dungeon mapgen.
author0gb.us <0gb.us@0gb.us>
Wed, 4 Sep 2013 19:09:52 +0000 (12:09 -0700)
committerSfan5 <sfan5@live.de>
Fri, 6 Sep 2013 19:42:01 +0000 (21:42 +0200)
src/dungeongen.cpp

index 9528b4132b74434cbe9f989b71c82c3a9d446001..7b529a83f9d1115a04877cfb83c06dbbe4bb9f5b 100644 (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);