disappearing burdened message

- the "Burdened" message could disappear from the status line if it was
updated partway thru in_container, clearing the bot flags.  Re-order
message so it comes after add_to_container, as in 3.3.1.
This commit is contained in:
cohrs
2002-04-02 01:18:13 +00:00
parent d3cef1b49b
commit e503714013
2 changed files with 5 additions and 3 deletions

View File

@@ -1792,11 +1792,11 @@ register struct obj *obj;
}
if (current_container) {
Strcpy(buf, the(xname(current_container)));
You("put %s into %s.", doname(obj), buf);
(void) add_to_container(current_container, obj);
current_container->owt = weight(current_container);
Strcpy(buf, the(xname(current_container)));
You("put %s into %s.", doname(obj), buf);
}
if (is_gold) bot(); /* update gold piece count immediately */