projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370a336
)
Make m_blocks_cache private
author
est31
<MTest31@outlook.com>
Tue, 30 Jun 2015 19:34:23 +0000
(21:34 +0200)
committer
est31
<MTest31@outlook.com>
Tue, 30 Jun 2015 19:34:23 +0000
(21:34 +0200)
@RealBadAngel has removed all outside access of the cache.
src/minimap.h
patch
|
blob
|
history
diff --git
a/src/minimap.h
b/src/minimap.h
index 3cb7da898359d196358d8848ac2120d77714b747..4ca0451b7cae657949f651087308020eb6332b6a 100644
(file)
--- 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