From 876b96c5aea0bcfd3b69638090b52c72e0c819b6 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 19 Jun 2015 17:17:40 -0400 Subject: [PATCH] I'm told that Death does not appear in two titles. Changes to be committed: modified: src/sounds.c --- src/sounds.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/sounds.c b/src/sounds.c index f95f4eb74..782a7f29e 100644 --- a/src/sounds.c +++ b/src/sounds.c @@ -1,4 +1,4 @@ -/* NetHack 3.6 sounds.c $NHDT-Date: 1434421352 2015/06/16 02:22:32 $ $NHDT-Branch: master $:$NHDT-Revision: 1.64 $ */ +/* NetHack 3.6 sounds.c $NHDT-Date: 1434748653 2015/06/19 21:17:33 $ $NHDT-Branch: master $:$NHDT-Revision: 1.65 $ */ /* Copyright (c) 1989 Janet Walz, Mike Threepoint */ /* NetHack may be freely redistributed. See license for details. */ @@ -911,15 +911,18 @@ register struct monst *mtmp; !context.tribute.Deathnotice && u_have_novel()) { struct obj *book = u_have_novel(); const char *tribtitle = (char *)0; + boolean features_Death = TRUE; if (book) { int novelidx = book->novelidx; tribtitle = noveltitle(&novelidx); } if (tribtitle) { - Sprintf(verbuf, - "Ah, so you have a copy of '%s'. I may have been misquoted there.", - tribtitle); + Sprintf(verbuf, "Ah, so you have a copy of /%s/.", tribtitle); + /* no Death featured in these two, so exlude them */ + if (!(strcmpi(tribtitle "Snuff") == 0 || + strcmpi(tribtitle, "The Wee Free Men" == 0))) + Strcat(verbuf, " I may have been misquoted there."); verbl_msg = verbuf; context.tribute.Deathnotice = 1; } -- 2.40.0