aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkinokoio <kinokoio@hotmail.com>2016-03-31 12:19:41 -0600
committerkwolekr <kwolekr@minetest.net>2016-04-03 04:12:07 -0400
commit66af984e0ec90eb58b21f7eb48641cd638dffdca (patch)
tree84d358d1bf8403e5ca505b19ea27f0a3c888e173 /src
parentb8ac7b80e6031f1322b76d638256f8e4a52e89d1 (diff)
downloadminetest-66af984e0ec90eb58b21f7eb48641cd638dffdca.tar.gz
minetest-66af984e0ec90eb58b21f7eb48641cd638dffdca.tar.bz2
minetest-66af984e0ec90eb58b21f7eb48641cd638dffdca.zip
Dungeongen: Update disabled torch placement code
Diffstat (limited to 'src')
-rw-r--r--src/dungeongen.cpp2
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) {