[crossfire] insert_ob_in_map question
Mark Wedel
mwedel at sonic.net
Sat Aug 26 00:36:01 CDT 2006
Nicolas Weeger (Laposte) wrote:
> Hello.
>
> Debugging the weather system, I found some weirdness I'm not sure how to fix.
>
>
> When laoding an overlay, insert_ob_in_map gets in some circumstances as flags
> INS_MAP_LOAD and INS_ABOVE_FLOOR_ONLY
> The trouble is that sometimes leads to inserting the item *below* another
> floor.
>
> So we have puddles below the ground :)
>
> Any idea on how to fix that?
I'd think that the correct behaviour for INS_ABOVE_FLOOR_ONLY should insert
the object above the topmost first, not the first floor.
I'm not sure if the code currently does that.
More information about the crossfire
mailing list