I had a stack of bad ammo that would not merge after I threw it. The culprit is line 1675 in obj-util.c in r1709.
if (o_ptr->flags[i] != j_ptr->flags[1])
should be
if (o_ptr->flags[i] != j_ptr->flags[i])
I guess most things that might merge don't have many flags.
[edit] silly me, that is a bug in object_similar, not object_absorb
if (o_ptr->flags[i] != j_ptr->flags[1])
should be
if (o_ptr->flags[i] != j_ptr->flags[i])
I guess most things that might merge don't have many flags.
[edit] silly me, that is a bug in object_similar, not object_absorb
Comment