mirror of
https://github.com/minetest/minetest.git
synced 2025-02-18 19:03:46 +01:00
Dungeongen: Update disabled torch placement code
This commit is contained in:
@ -44,7 +44,7 @@ DungeonGen::DungeonGen(Mapgen *mapgen, DungeonParams *dparams)
|
|||||||
this->vm = mapgen->vm;
|
this->vm = mapgen->vm;
|
||||||
|
|
||||||
#ifdef DGEN_USE_TORCHES
|
#ifdef DGEN_USE_TORCHES
|
||||||
c_torch = ndef->getId("default:torch");
|
c_torch = mg->ndef->getId("default:torch");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (dparams) {
|
if (dparams) {
|
||||||
|
Reference in New Issue
Block a user