typo/thinko fix (trunk only)

This commit is contained in:
nethack.rankin
2011-04-08 02:20:56 +00:00
parent 5bd6ba0d1c
commit aa382329dd

View File

@@ -425,7 +425,7 @@ boolean is_worn;
{
const struct artifact *arti;
if (is_worn && objects[otmp->oclass].oc_oprop == PROTECTION)
if (is_worn && objects[otmp->otyp].oc_oprop == PROTECTION)
return TRUE;
arti = get_artifact(otmp);
if (!arti) return FALSE;