clear "next" from "next boulder" sooner

Clear "next" boulder so that when pushing a pile of boulders, only
the first message for each of the 2nd, 3rd, &c will be formatted as
"next boulder".  If any of them trigger additional messages, those
messages will use normal "boulder".
This commit is contained in:
PatR
2025-01-21 14:55:05 -08:00
parent 61f969e88b
commit 2c1f2c1cb1
3 changed files with 9 additions and 2 deletions

View File

@@ -1131,6 +1131,8 @@ obfree(struct obj *obj, struct obj *merge)
delete_contents(obj);
if (Is_container(obj))
maybe_reset_pick(obj);
if (obj->otyp == BOULDER)
obj->next_boulder = 0;
shkp = 0;
if (obj->unpaid) {