From aa382329dd9ac7ef0c690a8e381fd77d462ab924 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Fri, 8 Apr 2011 02:20:56 +0000 Subject: [PATCH] typo/thinko fix (trunk only) --- src/artifact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;