]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/inventory.h
Inventory: Make addList() consistent (#11382)
[dragonfireclient.git] / src / inventory.h
index fbf995fab3af3727461322ba52077177907b35f5..6c84f5fd12ac7f734cfed949397ae7efbf56561d 100644 (file)
@@ -298,7 +298,7 @@ class Inventory
        void serialize(std::ostream &os, bool incremental = false) const;
        void deSerialize(std::istream &is);
 
-       // Adds a new list or clears and resizes an existing one
+       // Creates a new list if none exists or truncates existing lists
        InventoryList * addList(const std::string &name, u32 size);
        InventoryList * getList(const std::string &name);
        const InventoryList * getList(const std::string &name) const;