item action 'T' against covered armor
Using 'i'+menu choice for suit+'T' to try to take off a suit that is covered by a cloak (or shirt covered by suit and/or cloak) wouldn't do anything. It should report that you need to take off the outer garment first and then not take the chosen item off. There is probably a simpler fix. It took me a long time to figure where things were going wrong and them cobble this together. A big chunk of the diff for invent.c is just identation, surrounding a one-line change there.
This commit is contained in:
@@ -746,6 +746,7 @@ extern void Ring_gone(struct obj *) NONNULLARG1;
|
||||
extern void Blindf_on(struct obj *) NONNULLARG1;
|
||||
extern void Blindf_off(struct obj *);
|
||||
extern int dotakeoff(void);
|
||||
extern int ia_dotakeoff(void);
|
||||
extern int doremring(void);
|
||||
extern int cursed(struct obj *);
|
||||
extern int armoroff(struct obj *);
|
||||
|
||||
Reference in New Issue
Block a user