From e05b7659e82264766677cc14f182d79045aab272 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Thu, 7 Sep 2006 05:08:41 +0000 Subject: [PATCH] " appears" followup (trunk only) If you get "you have summoned " after making a same-race sacrifice, treat that as having been the " appears" message so that the latter won't be given if it subsequently teleports to you after you've moved out of sight of it. There are probably some more cases like this still lurking in the code. --- src/pray.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pray.c b/src/pray.c index e7b6975fb..4e2dc741d 100644 --- a/src/pray.c +++ b/src/pray.c @@ -1244,6 +1244,8 @@ dosacrifice() Strcpy(dbuf, a_monnam(dmon)); if (!strcmpi(dbuf, "it")) Strcpy(dbuf, "something dreadful"); + else + dmon->mstrategy &= ~STRAT_APPEARMSG; You("have summoned %s!", dbuf); if (sgn(u.ualign.type) == sgn(dmon->data->maligntyp)) dmon->mpeaceful = TRUE;