Skip to content

Commit 042a0c2

Browse files
committed
Ammo created by the Ranger quest artifact is fully identified.
1 parent cbe155f commit 042a0c2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

doc/evilhack-changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -3351,4 +3351,5 @@ The following changes to date are:
33513351
- Set default Druid pet name if one isn't set in the player config
33523352
- Fix: Peaceful demon lords won't follow you across levels
33533353
- Add regular bracers as a forge recipe
3354+
- Ammo created by the Ranger quest artifact is fully identified
33543355

src/artifact.c

+5
Original file line numberDiff line numberDiff line change
@@ -3167,6 +3167,11 @@ struct obj *obj;
31673167
} else
31683168
otmp->quan += rnd(5);
31693169
otmp->owt = weight(otmp);
3170+
otmp->known = obj->known;
3171+
otmp->bknown = obj->bknown;
3172+
otmp->dknown = obj->dknown;
3173+
otmp->rknown = obj->rknown;
3174+
otmp->oprops_known |= obj->oprops_known;
31703175
otmp = hold_another_object(otmp, "Suddenly %s out.",
31713176
aobjnam(otmp, "fall"), (char *) 0);
31723177
nhUse(otmp);

0 commit comments

Comments
 (0)