Use more u_locomotion

... and make it autocapitalize the first letter, just like locomotion
This commit is contained in:
Pasi Kallinen
2022-02-27 11:06:41 +02:00
parent 9e666b75f6
commit 1d4d0f4b0e
6 changed files with 17 additions and 23 deletions

View File

@@ -1097,8 +1097,7 @@ dodown(void)
if (trap) {
const char *down_or_thru = trap->ttyp == HOLE ? "down" : "through";
const char *actn = Flying ? "fly"
: locomotion(g.youmonst.data, "jump");
const char *actn = u_locomotion("jump");
if (g.youmonst.data->msize >= MZ_HUGE) {
char qbuf[QBUFSZ];
@@ -1577,7 +1576,7 @@ goto_level(
if (flags.verbose || great_effort)
pline("%s %s up%s the %s.",
great_effort ? "With great effort, you" : "You",
Levitation ? "float" : Flying ? "fly" : "climb",
u_locomotion("climb"),
(Flying && g.at_ladder) ? " along" : "",
g.at_ladder ? "ladder" : "stairs");
} else { /* down */