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:
+1
-1
@@ -680,7 +680,7 @@ prevent normal monster activity from picking up the mines' luckstone or the
|
|||||||
proceed a little further into dochat() if hero is deaf
|
proceed a little further into dochat() if hero is deaf
|
||||||
stacks of 1 to 49 gold pieces weighed 0
|
stacks of 1 to 49 gold pieces weighed 0
|
||||||
the chance for #untrap to free a monster stuck in a web was very unlikely
|
the chance for #untrap to free a monster stuck in a web was very unlikely
|
||||||
unless was poly'd into spider form; make it less hard
|
unless hero was poly'd into spider form; make it less hard
|
||||||
if #untrap monst-from-web failure happened while hero was standing on a spot
|
if #untrap monst-from-web failure happened while hero was standing on a spot
|
||||||
where a new web couldn't be created (furniture, grave, magic portal),
|
where a new web couldn't be created (furniture, grave, magic portal),
|
||||||
the expected "<monst> remains entangled" feedback wasn't delivered
|
the expected "<monst> remains entangled" feedback wasn't delivered
|
||||||
|
|||||||
+1
-6
@@ -1369,13 +1369,8 @@ shrink_glob(
|
|||||||
if (delta >= (long) obj->owt) {
|
if (delta >= (long) obj->owt) {
|
||||||
/* no newsym() or message here; forthcoming map update for
|
/* no newsym() or message here; forthcoming map update for
|
||||||
level arrival is all that's needed */
|
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);
|
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 {
|
} else {
|
||||||
obj->owt -= (unsigned) delta;
|
obj->owt -= (unsigned) delta;
|
||||||
start_glob_timeout(obj, moddelta);
|
start_glob_timeout(obj, moddelta);
|
||||||
|
|||||||
+1
-1
@@ -317,7 +317,7 @@ do_makedefs(char *options)
|
|||||||
MD_PAD_RUMORS); /* '_RUMORS' is correct here */
|
MD_PAD_RUMORS); /* '_RUMORS' is correct here */
|
||||||
do_rnd_access_file(ENGRAVEFILE,
|
do_rnd_access_file(ENGRAVEFILE,
|
||||||
/* default engraving: popularized by "The Adventures of
|
/* default engraving: popularized by "The Adventures of
|
||||||
Buckaroo Bonzai Across the 8th Dimenstion" but predates
|
Buckaroo Bonzai Across the 8th Dimension" but predates
|
||||||
that 1984 movie; some attribute it to Confucius */
|
that 1984 movie; some attribute it to Confucius */
|
||||||
"No matter where you go, there you are.",
|
"No matter where you go, there you are.",
|
||||||
MD_PAD_RUMORS); /* '_RUMORS' used here too */
|
MD_PAD_RUMORS); /* '_RUMORS' used here too */
|
||||||
|
|||||||
Reference in New Issue
Block a user