Skip to content

Commit 9e3e6dc

Browse files
committed
Make m_blocks_cache private
@RealBadAngel has removed all outside access of the cache.
1 parent 370a336 commit 9e3e6dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/minimap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class MinimapUpdateThread : public UpdateThread
113113
{
114114
private:
115115
MinimapUpdateQueue m_queue;
116+
std::map<v3s16, MinimapMapblock *> m_blocks_cache;
116117

117118
protected:
118119
const char *getName()
@@ -139,7 +140,6 @@ class MinimapUpdateThread : public UpdateThread
139140
video::IVideoDriver *driver;
140141
ITextureSource *tsrc;
141142
MinimapData *data;
142-
std::map<v3s16, MinimapMapblock *> m_blocks_cache;
143143
};
144144

145145
class Mapper

0 commit comments

Comments
 (0)