diff --git a/src/pray.c b/src/pray.c index 29cf878a4..d63778d52 100644 --- a/src/pray.c +++ b/src/pray.c @@ -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; }