Fix logic error in stuck_in_wall

This commit is contained in:
Pasi Kallinen
2019-02-01 13:38:21 +02:00
parent 2447be1e8e
commit adacde80e7

View File

@@ -157,7 +157,7 @@ stuck_in_wall()
y = u.uy + j;
if (!isok(x, y)
|| (IS_ROCK(levl[x][y].typ)
&& (levl[x][y].typ != SDOOR || levl[x][y].typ != SCORR))
&& (levl[x][y].typ != SDOOR && levl[x][y].typ != SCORR))
|| (blocked_boulder(i, j) && !throws_rocks(youmonst.data)))
++count;
}