Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
Identification of wand of striking depends upon seeing destruction od…
Browse files Browse the repository at this point in the history
… boulder/statue
  • Loading branch information
matkoniecz committed Mar 10, 2013
1 parent 380cbc9 commit 9b282e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/zap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1623,8 +1623,9 @@ struct obj *obj, *otmp;
(void)breaks(obj, obj->ox, obj->oy);
res = 0;
}
/* BUG[?]: shouldn't this depend upon you seeing it happen? */
makeknown(otmp->otyp);
if(cansee(obj->ox, obj->oy)) {
makeknown(otmp->otyp);
}
break;
case WAN_CANCELLATION:
case SPE_CANCELLATION:
Expand Down

0 comments on commit 9b282e0

Please sign in to comment.