From d4d1a3bffc8a1a8bb8677b673dffb445771bcd63 Mon Sep 17 00:00:00 2001 From: pionere Date: Wed, 25 Sep 2024 08:21:36 +0200 Subject: [PATCH] fix TFit_Shrine after 'assume theme-rooms are rectangles' --- Source/themes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/themes.cpp b/Source/themes.cpp index 4b1c722f040..67dcbe3831d 100644 --- a/Source/themes.cpp +++ b/Source/themes.cpp @@ -85,6 +85,7 @@ static int TFit_Shrine(int themeId) // if (numMatches == lengthof(drlg.thLocs)) // goto done; } + } } xx = themes[themeId]._tsx1; for (yy = themes[themeId]._tsy1 + 1; yy < themes[themeId]._tsy2 - 1; yy++) { @@ -115,7 +116,6 @@ static int TFit_Shrine(int themeId) } } } - } // done: if (numMatches == 0) return -1;