Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Dungeongen: Update disabled torch placement code
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
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) { |
|
|