mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +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
|
@ -1272,7 +1272,7 @@ static bool recompress_map_database(const GameParams &game_params, const Setting
|
|||
iss.clear();
|
||||
|
||||
{
|
||||
MapBlock mb(nullptr, v3s16(0,0,0), &server);
|
||||
MapBlock mb(v3s16(0,0,0), &server);
|
||||
u8 ver = readU8(iss);
|
||||
mb.deSerialize(iss, ver, true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue