From: arromdee Date: Thu, 17 Jan 2002 03:04:04 +0000 (+0000) Subject: high priest message X-Git-Tag: MOVE2GIT~3464 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af50cb590dc6280f883160a0e33a92d7280c912c;p=nethack high priest message Fix bug: Create high priest, let it kill you. Get "kiled by the high priest". --- diff --git a/doc/fixes33.2 b/doc/fixes33.2 index fbe6e78bd..4b1d63bad 100644 --- a/doc/fixes33.2 +++ b/doc/fixes33.2 @@ -387,6 +387,7 @@ monsters without ranged spells don't print curse messages for ranged spells going down to floor using > should set Heart of Ahriman invocation timeout riding a steed into water kills the steed if it cannot swim, with penalties gaze attacks now stop occupation +proper death message when killed by "plain" high priest Platform- and/or Interface-Specific Fixes diff --git a/src/end.c b/src/end.c index 2986ade84..d1643e67f 100644 --- a/src/end.c +++ b/src/end.c @@ -185,7 +185,9 @@ register struct monst *mtmp; You("die..."); mark_synch(); /* flush buffered screen output */ buf[0] = '\0'; - if ((mtmp->data->geno & G_UNIQ) != 0) { + /* "killed by the high priest of Crom" is okay, "killed by the high + priest" alone isn't */ + if ((mtmp->data->geno & G_UNIQ) != 0 && !(mtmp->data == &mons[PM_HIGH_PRIEST] && !mtmp->ispriest)) { if (!type_is_pname(mtmp->data)) Strcat(buf, "the "); killer_format = KILLED_BY;