diff options
Diffstat (limited to 'src/dungeongen.cpp')
-rw-r--r-- | src/dungeongen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |