Opened 11 years ago

Closed 11 years ago

#902 closed bug (fixed (in master))

new-id: =RCold sold, un-ID'd, for 25000AU

Reported by: takkaria Owned by:
Milestone: 3.1.1 beta Keywords:


I think something is probably accessing known_flags directly, and with the change in meaning of those flags (e.g. flag is known either to be on or not on, not just known to be on), it was given an unreasonably large value.

Change History (4)

comment:1 Changed 11 years ago by magnate

Can you attach the pricing.log snippet for this?

comment:2 Changed 11 years ago by takkaria

I can't find the appropriate bit—I guess it's been overwritten already.

comment:3 Changed 11 years ago by eddiegrove@…

The bug is in object_value, the line

memcpy(j_ptr->flags, j_ptr->known_flags, sizeof(j_ptr->flags));

needs to change to [I think]

object_flags_known(o_ptr, j_ptr->flags);

which won't work until object_flags_known is fixed with respect to kind flags that should be known with awareness, but that's a separate bug.

comment:4 Changed 11 years ago by takkaria

  • Resolution set to fixed
  • Status changed from new to closed

r1515 merged in [1d8e083] (SVN r1526) fixes this

Note: See TracTickets for help on using tickets.