From 712771f4f73396c53c7b9d768abc548c66c863e3 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Thu, 18 Dec 2003 05:00:47 +0000 Subject: [PATCH] fix U796 - minor wording 'bug' "You push the boulder into the pool" should be "Your steed pushes the boulder into the pool" if done while riding since that's how other boulder pushing messages are handled. --- doc/fixes34.4 | 1 + src/do.c | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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 */ -- 2.40.0