"can't reach from steed" message bits

These should have been included with a "#dipping from steed" patch
three years ago.  I don't know whether I missed them outright, neglected
to cut diffs at the time, or just forgot to apply the diffs to my cvs
directory prior to committing the rest of that patch.
This commit is contained in:
nethack.rankin
2005-12-17 05:01:27 +00:00
parent 2c7ed27c16
commit 4327fc88af
2 changed files with 4 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)hack.c 3.5 2005/06/02 */
/* SCCS Id: @(#)hack.c 3.5 2005/12/16 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -1949,8 +1949,7 @@ dopickup()
You("cannot reach the bottom of the pit.");
#ifdef STEED
else if (u.usteed && P_SKILL(P_RIDING) < P_BASIC)
You("aren't skilled enough to reach from %s.",
y_monnam(u.usteed));
rider_cant_reach();
#endif
else
You("cannot reach the %s.", surface(u.ux,u.uy));

View File

@@ -3269,8 +3269,7 @@ boolean force_failure;
if (!can_reach_floor(TRUE)) {
#ifdef STEED
if (u.usteed && P_SKILL(P_RIDING) < P_BASIC)
You("aren't skilled enough to reach from %s.",
mon_nam(u.usteed));
rider_cant_reach();
else
#endif
You("are unable to reach the %s!",
@@ -3653,8 +3652,7 @@ boolean force;
}
#ifdef STEED
if (u.usteed && P_SKILL(P_RIDING) < P_BASIC) {
You("aren't skilled enough to reach from %s.",
mon_nam(u.usteed));
rider_cant_reach();
return(0);
}
#endif