]> git.lizzy.rs Git - minetest.git/commitdiff
Clientiface: remove "value is dummy" from docs
authorest31 <MTest31@outlook.com>
Tue, 16 Feb 2016 22:58:30 +0000 (23:58 +0100)
committerest31 <MTest31@outlook.com>
Tue, 16 Feb 2016 22:58:30 +0000 (23:58 +0100)
Commit

6a1670dbc31cc0e44178bbd9ad34ff0d5981a060 "Migrate to STL containers/algorithms."

has replaced core::map<T, bool> with std::set<T>, but didn't update
the accompanying comment saying "value is dummy". This happened at
two places.

src/clientiface.h

index 0d2bca1965ce535ce3bed7fb63fe2c2c51e7dbdc..d7622cad3e9e53961bab493ae1fcde6fb8bb80b7 100644 (file)
@@ -322,7 +322,6 @@ class RemoteClient
 
        /*
                List of active objects that the client knows of.
-               Value is dummy.
        */
        std::set<u16> m_known_objects;
 
@@ -377,7 +376,7 @@ class RemoteClient
                - A block is cleared from here when client says it has
                  deleted it from it's memory
 
-               Key is position, value is dummy.
+               List of block positions.
                No MapBlock* is stored here because the blocks can get deleted.
        */
        std::set<v3s16> m_blocks_sent;