From: Pasi Kallinen Date: Wed, 23 Feb 2022 11:54:07 +0000 (+0200) Subject: Wall of water stops monster hurtling X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60642a88769cfba05a515ceb25d39b9b127ecdca;p=nethack Wall of water stops monster hurtling --- diff --git a/src/dothrow.c b/src/dothrow.c index 1fdf63d99..dcd80ef55 100644 --- a/src/dothrow.c +++ b/src/dothrow.c @@ -915,7 +915,7 @@ mhurtle_step(genericptr_t arg, int x, int y) set_apparxy(mon); if (minliquid(mon)) return FALSE; - return TRUE; + return is_waterwall(x, y) ? FALSE : TRUE; } /* TODO: Treat walls, doors, iron bars, etc. specially