]> granicus.if.org Git - nethack/commit
fix github issue #686 - dead code
authorPatR <rankin@nethack.org>
Sat, 26 Feb 2022 06:35:04 +0000 (22:35 -0800)
committerPatR <rankin@nethack.org>
Sat, 26 Feb 2022 06:35:04 +0000 (22:35 -0800)
commit7f28a79ae66dc07b3eb83aeeb3e3be73e70e7b0c
treec6355765145ff0c6aa318c1ef236be019da85eba
parent4b6b976e3b6fdc1960a4ad80bbdb6bbe85f6726e
fix github issue #686 - dead code

Reported by argrath:  the code in choose_stairs() intended as last
resort wouldn't do anything because the loop's test condition always
started out false.  Fix suggested by entrez.

Closes #686
src/wizard.c