shrink_glob while away from level

If the hero left a level that had globs on the floor or in floor
containers or being carried by monsters and stayed away for a
while, returning to the level only shrunk them by one unit of
weight.  Account for all the time away.  The complexity of this
has steadily grown; I hope its peak has been reached.
This commit is contained in:
PatR
2021-11-12 23:05:55 -08:00
parent 41ede41b8b
commit 05a843826d
2 changed files with 36 additions and 4 deletions

View File

@@ -883,6 +883,7 @@ misaligned potion colors due to lack of reset_glyphmap() following obj shuffle;
this issue only impacted a new game
closed doors were described as "horizontal closed door" or "vertical closed
door" instead of just "closed door"
glob shrinkage while hero was away from glob's level wasn't handled properly
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support