[crossfire] Item merging bug

Mark Wedel mwedel at sonic.net
Sat Sep 4 23:47:41 CDT 2010


On 09/ 4/10 12:55 AM, Nicolas Weeger wrote:
>>    True.
>>
>>    It just seems to me that the implementation is buggy - if on a unique
>> map, it shouldn´t be setting the flag_original value - maybe that is a
>> simpler map - to check for that and not set it.
>
>
> But even if we don't set the flag on a unique map, the issue will still be here
> on non unique maps :)

  True.

>
> If a DM saves an overlay in a world map, with a silver coin, and a player
> drops another silver coin, it still won't merge...
>
>
> I think the 2 fixes are either to remove totally overlays, or just ensure items
> merge even if the ORIGINAL flag is set.

  Making it so objects merge is fairly straight forward - just updated CAN_MERGE 
to ignore that flag.  That is probably simplest, and still leaves the overlay 
functionality in place.




More information about the crossfire mailing list