]> granicus.if.org Git - nethack/commit
level teleport and sleeping steed
authorcohrs <cohrs>
Fri, 15 Nov 2002 04:58:28 +0000 (04:58 +0000)
committercohrs <cohrs>
Fri, 15 Nov 2002 04:58:28 +0000 (04:58 +0000)
commitd2476b5151d185e83b524aa8b7ce4bef3646ba77
treeb028cc83669d522c85023b2785d534a3485fbb78
parente3b20b8a9ff5d9e6584be8c6248c38099df7cb02
level teleport and sleeping steed
If you level teleported while on a sleeping steed, a panic and possibly a
crash would occur.  I believe the same would occur by digging a hole.  This
was due to keepdogs avoiding keeping sleeping pets.  In these cases, it
seems there's no reason for the sleeping steed to _not_ accompany you.
Since other ways of changing level (eg stairs) don't allow this, just added
a check to keepdogs to allow the steed to go with you.
doc/fixes34.1
src/dog.c