Skip to content

Commit

Permalink
fix TFit_Shrine after 'assume theme-rooms are rectangles'
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Sep 25, 2024
1 parent cb022fe commit d4d1a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/themes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down Expand Up @@ -115,7 +116,6 @@ static int TFit_Shrine(int themeId)
}
}
}
}
// done:
if (numMatches == 0)
return -1;
Expand Down

0 comments on commit d4d1a3b

Please sign in to comment.