From b4664e981f1e894cb8bc08dfa1d715a885e065df Mon Sep 17 00:00:00 2001 From: cohrs Date: Sun, 27 Oct 2002 16:30:35 +0000 Subject: [PATCH] B14009 order of altar feeling messages Special case the altar feeling messages to avoid saying you're feeling the altar and then saying there's an altar here. --- src/invent.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/invent.c b/src/invent.c index 9d5d0a8be..9e036119b 100644 --- a/src/invent.c +++ b/src/invent.c @@ -2135,9 +2135,14 @@ boolean picked_some; if (Blind) { boolean drift = Is_airlevel(&u.uz) || Is_waterlevel(&u.uz); - You("try to feel what is %s%s.", - drift ? "floating here" : "lying here on the ", - drift ? "" : surface(u.ux, u.uy)); + if (dfeature && !strncmp(dfeature, "altar ", 6)) { + /* don't say "altar" twice, dfeature has more info */ + You("try to feel what is here."); + } else { + You("try to feel what is %s%s.", + drift ? "floating here" : "lying here on the ", + drift ? "" : surface(u.ux, u.uy)); + } if (dfeature && !drift && !strcmp(dfeature, surface(u.ux,u.uy))) dfeature = 0; /* ice already identifed */ if (!can_reach_floor()) {