int steed_article = ARTICLE_THE;
int oldumort;
+ /* suppress article in various steed messages when using its
+ name (which won't occur when hallucinating) */
+ if (u.usteed && has_mgivenname(u.usteed) && !Hallucination)
+ steed_article = ARTICLE_NONE;
+
/* KMH -- You can't escape the Sokoban level traps */
if (!Sokoban && (Levitation || (Flying && !plunged)))
return 0;
boolean viasitting = (trflags & VIASITTING) != 0;
int steed_article = ARTICLE_THE;
+ /* suppress article in various steed messages when using its
+ name (which won't occur when hallucinating) */
+ if (u.usteed && has_mgivenname(u.usteed) && !Hallucination)
+ steed_article = ARTICLE_NONE;
+
feeltrap(trap);
if (mu_maybe_destroy_web(&g.youmonst, webmsgok, trap))
return 0;
int steed_article = ARTICLE_THE;
char verbbuf[BUFSZ];
+ /* suppress article in various steed messages when using its
+ name (which won't occur when hallucinating) */
+ if (u.usteed && has_mgivenname(u.usteed) && !Hallucination)
+ steed_article = ARTICLE_NONE;
+
seetrap(trap);
if (viasitting)
Strcpy(verbbuf, "trigger"); /* follows "You sit down." */
plunged = (trflags & TOOKPLUNGE) != 0,
conj_pit = conjoined_pits(trap, t_at(u.ux0, u.uy0), TRUE),
adj_pit = adj_nonconjoined_pit(trap);
- int steed_article = ARTICLE_THE;
nomul(0);
}
}
- if (u.usteed) {
+ if (u.usteed)
u.usteed->mtrapseen |= (1 << (ttype - 1));
- /* suppress article in various steed messages when using its
- name (which won't occur when hallucinating) */
- if (has_mgivenname(u.usteed) && !Hallucination)
- steed_article = ARTICLE_NONE;
- }
/*
* Note: