Skip to content

Commit

Permalink
more jumping (trunk only)
Browse files Browse the repository at this point in the history
     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.
  • Loading branch information
nethack.rankin committed Feb 11, 2007
1 parent 2343e77 commit a9b7b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a9b7b19

Please sign in to comment.