U472 - untrapping squeaky board with a can of grease
If using a permanent inventory window, the charges weren't updated immediately.
This commit is contained in:
@@ -70,6 +70,7 @@ killer on tombstone had no prefix for starvation/exhaustion case
|
||||
ensure proper message ordering for boulder trap messages
|
||||
clean up data set by join_map that is overlaid by MAPs on special levels
|
||||
clarify disclose option default in opthelp, and support "all" as old help said
|
||||
add more calls to update_inventory as the inventory changes
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -3152,6 +3152,7 @@ struct trap *ttmp;
|
||||
if (obj->otyp == CAN_OF_GREASE) {
|
||||
check_unpaid(obj);
|
||||
obj->spe--;
|
||||
update_inventory();
|
||||
} else {
|
||||
useup(obj); /* oil */
|
||||
makeknown(POT_OIL);
|
||||
|
||||
Reference in New Issue
Block a user