[CF-Devel] Warning: broken weights & containers & such

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sun Oct 17 08:51:40 CDT 2004


During item loading, the 'carrying' field of (for instance) bookshelf 
gets loaded from file, then as items are inserted into it 
insert_ob_in_ob is called and adds the weight too.
So each loading the container's carrying field goes up, up, up, and is 
never reset to 0.

Now I don't know whether the weight should be fixed after loading, or 
carrying field set to 0 before inventory loading, and such.
Also i don't know which latest commit makes this weird behaviour :)

Ryo

_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list