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:
cohrs
2003-05-21 15:15:27 +00:00
parent 902b4e67ef
commit bbaa40993b
2 changed files with 2 additions and 0 deletions

View File

@@ -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);