Macros for checking is object artifact

This commit is contained in:
Pasi Kallinen
2022-08-12 19:37:34 +03:00
parent fc3729d249
commit 9be2e581b7
19 changed files with 53 additions and 54 deletions

View File

@@ -801,7 +801,7 @@ one_characteristic(int mode, int final, int attrindx)
case A_DEX:
break;
case A_CON:
if (uwep && uwep->oartifact == ART_OGRESMASHER && uwep->cursed)
if (u_wield_art(ART_OGRESMASHER) && uwep->cursed)
hide_innate_value = TRUE;
break;
case A_INT: