From: nethack.rankin Date: Fri, 8 Apr 2011 02:20:56 +0000 (+0000) Subject: typo/thinko fix (trunk only) X-Git-Tag: MOVE2GIT~224 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa382329dd9ac7ef0c690a8e381fd77d462ab924;p=nethack typo/thinko fix (trunk only) --- diff --git a/src/artifact.c b/src/artifact.c index a20682ac3..6f3a7aa27 100644 --- a/src/artifact.c +++ b/src/artifact.c @@ -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;