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.
This commit is contained in:
nethack.rankin
2007-02-11 01:50:56 +00:00
parent 2343e77eb0
commit a9b7b19b95

View File

@@ -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);