aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-06-30 21:34:23 +0200
committerest31 <MTest31@outlook.com>2015-06-30 21:34:23 +0200
commit9e3e6dc5ec8ea63d65c635fcac0c80e0cd0e666d (patch)
treedab59df484055b39f9dee8fee5073d7eb936671a
parent370a33686ac6ce731c989bcd513aa351666ab5ae (diff)
downloadminetest-9e3e6dc5ec8ea63d65c635fcac0c80e0cd0e666d.tar.gz
minetest-9e3e6dc5ec8ea63d65c635fcac0c80e0cd0e666d.tar.bz2
minetest-9e3e6dc5ec8ea63d65c635fcac0c80e0cd0e666d.zip
Make m_blocks_cache private
@RealBadAngel has removed all outside access of the cache.
-rw-r--r--src/minimap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/minimap.h b/src/minimap.h
index 3cb7da898..4ca0451b7 100644
--- a/src/minimap.h
+++ b/src/minimap.h
@@ -113,6 +113,7 @@ class MinimapUpdateThread : public UpdateThread
{
private:
MinimapUpdateQueue m_queue;
+ std::map<v3s16, MinimapMapblock *> m_blocks_cache;
protected:
const char *getName()
@@ -139,7 +140,6 @@ public:
video::IVideoDriver *driver;
ITextureSource *tsrc;
MinimapData *data;
- std::map<v3s16, MinimapMapblock *> m_blocks_cache;
};
class Mapper