From 4073fdd531bdb9f1619fb1890c8447f1495db761 Mon Sep 17 00:00:00 2001 From: obligaron Date: Sun, 6 Feb 2022 09:53:18 +0100 Subject: [PATCH] Fix dungeon reroll - Initialize special Room coordinates --- Source/drlg_l2.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/drlg_l2.cpp b/Source/drlg_l2.cpp index e632a8e4c..81a8d0c5e 100644 --- a/Source/drlg_l2.cpp +++ b/Source/drlg_l2.cpp @@ -2899,6 +2899,10 @@ void GenerateLevel(lvl_entry entry) bool doneflag = false; while (!doneflag) { nRoomCnt = 0; + nSx1 = 0; + nSy1 = 0; + nSx2 = 0; + nSy2 = 0; InitDungeonFlags(); DRLG_InitTrans(); if (!CreateDungeon()) {