Skip to content

Commit

Permalink
Fix for previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrunt committed Apr 20, 2012
1 parent dc37dab commit 0be5234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ register struct obj *obj;
obj->oclass != ARMOR_CLASS && !is_weptool(obj)) ||
obj->spe <= 0)
return (FALSE);
if ((obj->oartifact && defends(AD_DRLI, o)) ||
if ((obj->oartifact && defends(AD_DRLI, obj)) ||
(obj->oprops | ITEM_DRLI))
return (FALSE);
if (obj_resists(obj, 10, 90))
Expand Down

0 comments on commit 0be5234

Please sign in to comment.