typo/thinko fix (trunk only)
This commit is contained in:
+1
-1
@@ -425,7 +425,7 @@ boolean is_worn;
|
|||||||
{
|
{
|
||||||
const struct artifact *arti;
|
const struct artifact *arti;
|
||||||
|
|
||||||
if (is_worn && objects[otmp->oclass].oc_oprop == PROTECTION)
|
if (is_worn && objects[otmp->otyp].oc_oprop == PROTECTION)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
arti = get_artifact(otmp);
|
arti = get_artifact(otmp);
|
||||||
if (!arti) return FALSE;
|
if (!arti) return FALSE;
|
||||||
|
|||||||
Reference in New Issue
Block a user