From 66af984e0ec90eb58b21f7eb48641cd638dffdca Mon Sep 17 00:00:00 2001 From: kinokoio Date: Thu, 31 Mar 2016 12:19:41 -0600 Subject: Dungeongen: Update disabled torch placement code --- src/dungeongen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/dungeongen.cpp b/src/dungeongen.cpp index ce92319e6..5bfc320c9 100644 --- a/src/dungeongen.cpp +++ b/src/dungeongen.cpp @@ -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) { -- cgit v1.2.3