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

@@ -837,7 +837,7 @@ doengrave(void)
break;
case WEAPON_CLASS:
if (otmp->oartifact == ART_FIRE_BRAND)
if (is_art(otmp, ART_FIRE_BRAND))
type = BURN;
else if (is_blade(otmp)) {
if ((int) otmp->spe > -3)