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

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Mon Oct 18 02:12:46 CDT 2004


Nicolas Weeger wrote:
>
     
      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 :)
     
     
  These should all now be fixed in CVS.


_______________________________________________
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