diff options
Diffstat (limited to 'src/dungeongen.cpp')
-rw-r--r-- | src/dungeongen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dungeongen.cpp b/src/dungeongen.cpp index 883492bab..f8859dcd0 100644 --- a/src/dungeongen.cpp +++ b/src/dungeongen.cpp @@ -151,7 +151,7 @@ void DungeonGen::generate(MMVManip *vm, u32 bseed, v3s16 nmin, v3s16 nmax) void DungeonGen::makeDungeon(v3s16 start_padding) { - v3s16 areasize = vm->m_area.getExtent(); + const v3s16 &areasize = vm->m_area.getExtent(); v3s16 roomsize; v3s16 roomplace; |