permanent inventory window updates

Addresses the follwing missing updates:
- Quest Artifact identification by Quest Leader.
- Rust damage from a rust trap.
- Remove curse as a result of prayer (both fixing TROUBLE_CURSED_* and
  the blessed-remove-curse boon.)
- Charging via PYEC
This commit is contained in:
cohrs
2002-02-19 05:10:31 +00:00
parent 377a3b8482
commit d645467f40
4 changed files with 9 additions and 1 deletions

View File

@@ -1166,8 +1166,10 @@ arti_invoke(obj)
obj->age = 0;
return 0;
}
b_effect = obj->blessed && (Role_switch == oart->role || !oart->role);
b_effect = obj->blessed &&
(Role_switch == oart->role || !oart->role);
recharge(otmp, b_effect ? 1 : obj->cursed ? -1 : 0);
update_inventory();
break;
}
case LEV_TELE: