diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 14e23f4be..7ab93d466 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -248,6 +248,7 @@ fix phrasing in monster against monster attack feedback when attacker is wielding stacked weapons don't place hero on top of monster when arriving on level which is so full that the monster can't be moved out of the way +have to see a divine gift in order to have it become a discovery Platform- and/or Interface-Specific Fixes diff --git a/src/pray.c b/src/pray.c index 4fce54477..7640a0855 100644 --- a/src/pray.c +++ b/src/pray.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)pray.c 3.5 2006/04/14 */ +/* SCCS Id: @(#)pray.c 3.5 2006/08/21 */ /* Copyright (c) Benson I. Margulies, Mike Stephenson, Steve Linhart, 1989. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1526,7 +1526,11 @@ verbalize("In return for thy service, I grant thee the gift of Immortality!"); exercise(A_WIS, TRUE); /* make sure we can use this weapon */ unrestrict_weapon_skill(weapon_type(otmp)); - discover_artifact(otmp->oartifact); + if (!Hallucination && !Blind) { + otmp->dknown = 1; + makeknown(otmp->otyp); + discover_artifact(otmp->oartifact); + } return(1); } }