From 4327fc88af07d3f73deaaae5438df968f5de0433 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Sat, 17 Dec 2005 05:01:27 +0000 Subject: [PATCH] "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. --- src/hack.c | 5 ++--- src/trap.c | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/hack.c b/src/hack.c index aa673bea2..1486590c1 100644 --- a/src/hack.c +++ b/src/hack.c @@ -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)); diff --git a/src/trap.c b/src/trap.c index 019505229..8b4d6d724 100644 --- a/src/trap.c +++ b/src/trap.c @@ -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 -- 2.40.0