Navigation Menu

Skip to content

Commit

Permalink
Dungeongen: Update disabled torch placement code
Browse files Browse the repository at this point in the history
  • Loading branch information
IAPR authored and kwolekr committed Apr 3, 2016
1 parent b8ac7b8 commit 66af984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dungeongen.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 66af984

Please sign in to comment.