hack for hurtle_step() -- it ought to be changed to take an argument indicating lev/fly-to-dest vs lev/fly-to-dest-minus-one-land-on-dest vs drag-to-dest; original callers use first mode, jumping wants second, grappling hook backfire and thrown chained ball need third */
| 739 | vs drag-to-dest; original callers use first mode, jumping wants second, |
| 740 | grappling hook backfire and thrown chained ball need third */ |
| 741 | boolean |
| 742 | hurtle_jump(genericptr_t arg, coordxy x, coordxy y) |
| 743 | { |
| 744 | boolean res; |
| 745 | long save_EWwalking = EWwalking; |
| 746 | |
| 747 | /* prevent jumping over water from being placed in that water */ |
| 748 | EWwalking |= I_SPECIAL; |
| 749 | res = hurtle_step(arg, x, y); |
| 750 | EWwalking = save_EWwalking; |
| 751 | return res; |
| 752 | } |
| 753 | |
| 754 | /* |
| 755 | * Single step for the hero flying through the air from jumping, flying, |
nothing calls this directly
no test coverage detected