mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Get rid of parent pointer in MapBlock
This commit is contained in:
parent
c6cf90f67b
commit
f5b35a074f
6 changed files with 15 additions and 50 deletions
|
@ -73,7 +73,7 @@ std::unique_ptr<MapBlock> MapSector::createBlankBlockNoInsert(s16 y)
|
|||
|
||||
v3s16 blockpos_map(m_pos.X, y, m_pos.Y);
|
||||
|
||||
return std::make_unique<MapBlock>(m_parent, blockpos_map, m_gamedef);
|
||||
return std::make_unique<MapBlock>(blockpos_map, m_gamedef);
|
||||
}
|
||||
|
||||
MapBlock *MapSector::createBlankBlock(s16 y)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue