miscellaneous tweaks

Simplify a glob handling bit in a recent shrink_glob change used when
catching for lost time upon returning to a level.

Revise a clumsily worded fixes entry.

Fix a comment typo in makedefs that's been there for a bunch of years
now.  It's been within the diff context for several recent patches
and I still hadn't noticed it until just now.
This commit is contained in:
PatR
2021-11-30 14:04:00 -08:00
parent 0c69fd9afc
commit 35ac9a09e2
3 changed files with 3 additions and 8 deletions

View File

@@ -1369,13 +1369,8 @@ shrink_glob(
if (delta >= (long) obj->owt) {
/* no newsym() or message here; forthcoming map update for
level arrival is all that's needed */
obj_extract_self(obj);
obj_extract_self(obj); /* if contained, updates container's owt */
obfree(obj, (struct obj *) 0);
/* won't be a container carried by hero but might be a floor
one or one carried by a monster */
if (contnr)
container_weight(contnr);
} else {
obj->owt -= (unsigned) delta;
start_glob_timeout(obj, moddelta);