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.
This commit is contained in:
cohrs
2002-10-27 16:30:35 +00:00
parent afbfd72271
commit b4664e981f

View File

@@ -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()) {