aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-02-16 23:58:30 +0100
committerest31 <MTest31@outlook.com>2016-02-16 23:58:30 +0100
commit4c654557ecc32620b78c146bd6d90f531a71d25a (patch)
treeba77ef9e5e5af8e8c6b0013531ab66bddb0a0e58 /src
parent08517244f7d19556f0449ff5d90f66e9ef079977 (diff)
downloadminetest-4c654557ecc32620b78c146bd6d90f531a71d25a.tar.gz
minetest-4c654557ecc32620b78c146bd6d90f531a71d25a.tar.bz2
minetest-4c654557ecc32620b78c146bd6d90f531a71d25a.zip
Clientiface: remove "value is dummy" from docs
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.
Diffstat (limited to 'src')
-rw-r--r--src/clientiface.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clientiface.h b/src/clientiface.h
index 0d2bca196..d7622cad3 100644
--- a/src/clientiface.h
+++ b/src/clientiface.h
@@ -322,7 +322,6 @@ public:
/*
List of active objects that the client knows of.
- Value is dummy.
*/
std::set<u16> m_known_objects;
@@ -377,7 +376,7 @@ private:
- 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;