web spinning tweak for Sokoban

When spiders try to spin webs, don't let them do so in Sokoban
unless the level has already been solved or the spider can see the
stairs up (which was the simplest way I could achieve something
close to "is in the same room as the stairs up") where it can't
interfere with solving the level.
This commit is contained in:
PatR
2021-06-26 17:06:37 -07:00
parent 5ea652e0c6
commit dad804e118
2 changed files with 28 additions and 11 deletions

View File

@@ -724,6 +724,7 @@ corpse of monster with gender specific names (king vs queen and so forth)
prevent obj_pmname() from calling mon_pmname(monst) when monst->data is null
to prevent a null pointer dereference
correct the pluralization of monarch to monarchs, rather than monarches
don't allow web spun by spider to interfere with solving Soloban
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support