diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 9232ae518..d8a4a1668 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -7,6 +7,7 @@ silver arrows weren't causing silver damage on some silver-haters when wielded wizard mode: avoid division by 0 crash for level teleport in the endgame if confusion overrides teleport control don't #sit on an object in a pit if you're only on the precipice +fix message when pushing a boulder into a pool while riding Platform- and/or Interface-Specific Fixes diff --git a/src/do.c b/src/do.c index 1240a2fdb..0bd243579 100644 --- a/src/do.c +++ b/src/do.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)do.c 3.4 2003/12/02 */ +/* SCCS Id: @(#)do.c 3.4 2003/12/17 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -74,7 +74,14 @@ boolean pushing; newsym(rx,ry); if (pushing) { - You("push %s into the %s.", the(xname(otmp)), what); + char whobuf[BUFSZ]; + + Strcpy(whobuf, "you"); +#ifdef STEED + if (u.usteed) Strcpy(whobuf, y_monnam(u.usteed)); +#endif + pline("%s %s %s into the %s.", upstart(whobuf), + vtense(whobuf, "push"), the(xname(otmp)), what); if (flags.verbose && !Blind) pline("Now you can cross it!"); /* no splashing in this case */