-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix grab/engulf by tame/peaceful monster (trunk only)
<Someone> reported being swallowed by his pet purple worm during Conflict, then being stuck inside once Conflict ended. I'm not entirely sure what dog_move() intended by the "swallowed case handled above" comment. It returns without letting the pet move when the distance between pet and hero is 0; that wasn't much in the way of "handling" being swallowed. Grabbing pets did let go, but peaceful monsters didn't until you actually attempted to move away from them. Now all four combinations (grabbed or swallowed by tame or peaceful monster) are handled the same: the monster will let the hero go next time it gets a chance to try to move, using up its move in the process.
- Loading branch information
nethack.rankin
committed
Aug 17, 2006
1 parent
2e8c4b0
commit e6bf8af
Showing
3 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters