From adacde80e7a66c915124f2ddda31844fb0197743 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Fri, 1 Feb 2019 13:38:21 +0200 Subject: [PATCH] Fix logic error in stuck_in_wall --- src/pray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0