@ -582,21 +582,18 @@ void Theme_MonstPit(int t)
r = random_(0, 100) + 1;
ixp = 0;
iyp = 0;
if (r > 0) {
while (TRUE) {
if (dTransVal[ixp][iyp] == themes[t].ttval && !nSolidTable[dPiece[ixp][iyp]]) {
--r;
}
if (r <= 0) {
break;
ixp++;
if (ixp == MAXDUNX) {
iyp++;
if (iyp == MAXDUNY) {
while (r > 0) {
if (r <= 0)
continue;