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.
This commit is contained in:
nethack.rankin
2003-12-18 05:00:47 +00:00
parent 28934bc7b6
commit 712771f4f7
2 changed files with 10 additions and 2 deletions

View 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

View File

@@ -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 */