mirror of https://github.com/minetest/minetest.git
Added syntax fix for torch generation in dungeons (developer feature)
This commit is contained in:
parent
c8ff11b417
commit
f758ab09d0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue