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

@@ -338,6 +338,7 @@ decurse:
what ? what :
(const char *)aobjnam(otmp, "softly glow"),
hcolor(amber));
update_inventory();
break;
case TROUBLE_POISONED:
if (Hallucination)
@@ -854,6 +855,7 @@ pleased(g_align)
break;
case 4: {
register struct obj *otmp;
int any = 0;
if (Blind)
You_feel("the power of %s.", u_gname());
@@ -866,9 +868,11 @@ pleased(g_align)
Your("%s %s.", aobjnam(otmp, "softly glow"),
hcolor(amber));
otmp->bknown = TRUE;
++any;
}
}
}
if (any) update_inventory();
break;
}
case 5: {