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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user