From a9b7b19b95ee5fe0b2c9b4e0ee2eb205a5c4a416 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Sun, 11 Feb 2007 01:50:56 +0000 Subject: [PATCH] more jumping (trunk only) Allow jumping via spell when hero or steed has wounded legs. Otherwise the previous fix for immobilized steed--and the existing code requiring limbs for physical jump but not for spell jump--is inconsistent. --- src/apply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apply.c b/src/apply.c index 801eaf1e8..5830b4410 100644 --- a/src/apply.c +++ b/src/apply.c @@ -1377,7 +1377,7 @@ int magic; /* 0=Physical, otherwise skill level */ } else if (!magic && (u.uhunger <= 100 || ACURR(A_STR) < 6)) { You("lack the strength to jump!"); return 0; - } else if (Wounded_legs) { + } else if (!magic && Wounded_legs) { long wl = (Wounded_legs & BOTH_SIDES); const char *bp = body_part(LEG); -- 2.40.0