This commit is contained in:
nhmall
2015-06-19 17:27:57 -04:00
parent d167f86f1d
commit 5fb16cfe0f

View File

@@ -1,4 +1,4 @@
/* NetHack 3.6 sounds.c $NHDT-Date: 1434749027 2015/06/19 21:23:47 $ $NHDT-Branch: master $:$NHDT-Revision: 1.66 $ */
/* NetHack 3.6 sounds.c $NHDT-Date: 1434749273 2015/06/19 21:27:53 $ $NHDT-Branch: master $:$NHDT-Revision: 1.67 $ */
/* Copyright (c) 1989 Janet Walz, Mike Threepoint */
/* NetHack may be freely redistributed. See license for details. */
@@ -911,7 +911,6 @@ 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;
@@ -919,9 +918,9 @@ register struct monst *mtmp;
}
if (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))
/* no Death featured in these two, so exclude 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;