From: nhmall Date: Wed, 22 May 2019 22:27:03 +0000 (-0400) Subject: xans fly, but could not reach your feet if you flew X-Git-Tag: nmake-explicit-path~2^2~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=564dcd657600f4e3f4cfa55f1a6cdee6005c4234;p=nethack xans fly, but could not reach your feet if you flew --- diff --git a/doc/fixes36.3 b/doc/fixes36.3 index 2293f0c78..93b708797 100644 --- a/doc/fixes36.3 +++ b/doc/fixes36.3 @@ -17,6 +17,7 @@ billing and payment issue as a result of glob coalescing glob pricing did not consider weight properly glob shop interaction improved to handle more of the expected scenarios non-flying steed on Plane of Water would drown when air bubble moved hero +xans fly, but could not reach your feet if you flew Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository diff --git a/src/mhitu.c b/src/mhitu.c index db9245803..a175daeab 100644 --- a/src/mhitu.c +++ b/src/mhitu.c @@ -1206,9 +1206,8 @@ register struct attack *mattk; /* This case is too obvious to ignore, but Nethack is not in * general very good at considering height--most short monsters * still _can_ attack you when you're flying or mounted. - * [FIXME: why can't a flying attacker overcome this?] */ - if (u.usteed || Levitation || Flying) { + if ((u.usteed || Levitation || Flying) && !is_flyer(mtmp->data)) { pline("%s tries to reach your %s %s!", Monst_name, sidestr, leg); dmg = 0; } else if (mtmp->mcan) {