fix #H285 - hiders not hiding while hero is on another level (trunk only)
From a bug report, mimics which were exposed at the time the hero leaves a level remain unhidden upon return no matter how long the hero is away. It was actually expected behavior since the old level is stuck in stasis and hiders only hide when it's their turn to move, but it was noticeably odd. This makes unhidden hiders attempt to hide when hero returns to a previous level or enters a bones level. I reorganized the monster handling in getlev() because the relevant part was taking place before floor objects got restored, so hidesunder() monsters had nothing to hide under at the time.
This commit is contained in:
@@ -220,6 +220,7 @@ when doppelgangers taking on new shape don't specifically pick nasty monster
|
||||
salamanders can use green slime corpses to cure themselves of petrification
|
||||
feedback about summoned monsters may use singular when it should use plural
|
||||
rogue's backstab bonus doesn't apply for throwing attacks
|
||||
hiding monsters who are unhidden when hero leaves a level can hide upon return
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user