Dungeongen: Update disabled torch placement code

This commit is contained in:
kinokoio 2016-03-31 12:19:41 -06:00 committed by kwolekr
parent b8ac7b80e6
commit 66af984e0e

@ -44,7 +44,7 @@ DungeonGen::DungeonGen(Mapgen *mapgen, DungeonParams *dparams)
this->vm = mapgen->vm;
#ifdef DGEN_USE_TORCHES
c_torch = ndef->getId("default:torch");
c_torch = mg->ndef->getId("default:torch");
#endif
if (dparams) {