mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Embed data directly in mapblocks
This commit is contained in:
parent
8f996e4a7c
commit
b3503e7853
3 changed files with 4 additions and 7 deletions
|
@ -481,8 +481,6 @@ private:
|
|||
|
||||
IGameDef *m_gamedef;
|
||||
|
||||
MapNode *const data;
|
||||
|
||||
/*
|
||||
- On the server, this is used for telling whether the
|
||||
block has been modified from the one on disk.
|
||||
|
@ -536,6 +534,8 @@ private:
|
|||
the list of blocks to be drawn.
|
||||
*/
|
||||
int m_refcount = 0;
|
||||
|
||||
MapNode data[nodecount];
|
||||
};
|
||||
|
||||
typedef std::vector<MapBlock*> MapBlockVect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue