]> granicus.if.org Git - nethack/commitdiff
fix U796 - minor wording 'bug'
authornethack.rankin <nethack.rankin>
Thu, 18 Dec 2003 05:00:47 +0000 (05:00 +0000)
committernethack.rankin <nethack.rankin>
Thu, 18 Dec 2003 05:00:47 +0000 (05:00 +0000)
     "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
src/do.c

index 9232ae518473b953d96c222c42439b0730a672ee..d8a4a16687daf8cd1f154f61d48a3c3b3aaeb263 100644 (file)
@@ -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
index 1240a2fdb60b7d8607e070d17e8b8ad65dfa73fd..0bd243579c49140fef78ecc25a219ab6c09b9490 100644 (file)
--- 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 */