Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow resting inside of walls in wizmode.
The change to abort a run command early if the target square is uninhabitable (0.20-a0-387-gf587305) also affected resting, but that broke the woken_rest test and probably others. Instead, check for running as opposed to resting. Also, don't abort the run command, but simply avoid the slime wall message, if the target square can't be entered: this change restores the "Why would you want to do that?" message when attempting to run into water, lava, etc. when slime walls are not nearby.
- Loading branch information