From: nhmall Date: Fri, 13 Mar 2015 05:02:09 +0000 (-0400) Subject: abuse wisdom in keeping with Rider eating msg X-Git-Tag: NetHack-3.6.0_RC01~607 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75e6fc27dbb4344942fb143b8b631e5604790e91;p=nethack abuse wisdom in keeping with Rider eating msg The death message for eating a Rider is "unwisely tried to eat...", but it doesn't abuse Wisdom (potentially relevant if you lifesave) --- diff --git a/doc/fixes35.0 b/doc/fixes35.0 index 4ad731e36..3ac75e94e 100644 --- a/doc/fixes35.0 +++ b/doc/fixes35.0 @@ -874,6 +874,7 @@ remove 'if (Deaf)' guards preceding You_hear which already checks deafness tse a menu to loot multiple containers do_look() in post-3.4.3 used glyph prior to setting it in pager.c charge for a boulder that fills a pit in shop +abuse wisdom in keeping with Rider eating message Platform- and/or Interface-Specific Fixes diff --git a/src/eat.c b/src/eat.c index 320fa2351..793925fb7 100644 --- a/src/eat.c +++ b/src/eat.c @@ -659,6 +659,8 @@ register int pm; mons[pm].mname); killer.format = NO_KILLER_PREFIX; done(DIED); + /* life-saving needed to reach here */ + exercise(A_WIS, FALSE); /* It so happens that since we know these monsters */ /* cannot appear in tins, context.victual.piece will always */ /* be what we want, which is not generally true. */