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

@@ -567,7 +567,7 @@ really_kick_object(coordxy x, coordxy y)
}
/* Mjollnir is magically too heavy to kick */
if (g.kickedobj->oartifact == ART_MJOLLNIR)
if (is_art(g.kickedobj, ART_MJOLLNIR))
range = 1;
/* see if the object has a place to move into */