diff --git a/src/mapblock.cpp b/src/mapblock.cpp index bbd9e57ac..190ac6884 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -101,10 +101,10 @@ static const char *modified_reason_strings[] = { */ MapBlock::MapBlock(v3s16 pos, IGameDef *gamedef): - m_is_mono_block(true), m_pos(pos), m_pos_relative(pos * MAP_BLOCKSIZE), - m_gamedef(gamedef) + m_gamedef(gamedef), + m_is_mono_block(true) { reallocate(1, MapNode(CONTENT_IGNORE)); } diff --git a/src/mapblock.h b/src/mapblock.h index c8026abb4..62f796e16 100644 --- a/src/mapblock.h +++ b/src/mapblock.h @@ -464,7 +464,6 @@ public: private: // see isOrphan() bool m_orphan = false; - bool m_is_mono_block; // Position in blocks on parent v3s16 m_pos; @@ -499,6 +498,7 @@ private: */ float m_usage_timer = 0; + bool m_is_mono_block; public: //// ABM optimizations //// // True if we never want to cache content types for this block