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
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:
what ? what :
(const char *)aobjnam(otmp, "softly glow"),
hcolor(amber));
+ update_inventory();
break;
case TROUBLE_POISONED:
if (Hallucination)
break;
case 4: {
register struct obj *otmp;
+ int any = 0;
if (Blind)
You_feel("the power of %s.", u_gname());
Your("%s %s.", aobjnam(otmp, "softly glow"),
hcolor(amber));
otmp->bknown = TRUE;
+ ++any;
}
}
}
+ if (any) update_inventory();
break;
}
case 5: {
/* behave as if leader imparts sufficient info about the
quest artifact */
fully_identify_obj(obj);
+ update_inventory();
}
}
(void) rust_dmg(uarmu, "shirt", 1, TRUE, &youmonst);
#endif
}
+ update_inventory();
break;
case FIRE_TRAP: