Skip to content

Commit

Permalink
Try to fix armor weight issues
Browse files Browse the repository at this point in the history
  • Loading branch information
FredrIQ committed Jul 4, 2017
1 parent 5d1f3b0 commit 55d826a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libnethack/src/pickup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,7 @@ pickup_object(struct obj *obj, long count, boolean telekinesis)
struct obj *
pick_obj(struct obj *otmp)
{
otmp->owt = weight(otmp);
obj_extract_self(otmp);
if (!Engulfed && otmp != uball && costly_spot(otmp->ox, otmp->oy)) {
char saveushops[5], fakeshop[2];
Expand Down

0 comments on commit 55d826a

Please sign in to comment.