From 75e6fc27dbb4344942fb143b8b631e5604790e91 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 13 Mar 2015 01:02:09 -0400 Subject: [PATCH] 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) --- doc/fixes35.0 | 1 + src/eat.c | 2 ++ 2 files changed, 3 insertions(+) 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. */ -- 2.40.0