1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter wrapper in old code

This commit is contained in:
Perttu Ahola 2011-11-16 14:08:31 +02:00
parent c0f6395cf0
commit df8346ef4d
14 changed files with 447 additions and 377 deletions

View file

@ -2058,7 +2058,7 @@ void ServerMap::initBlockMake(mapgen::BlockMakeData *data, v3s16 blockpos)
data->no_op = false;
data->seed = m_seed;
data->blockpos = blockpos;
data->nodemgr = m_gamedef->ndef();
data->nodedef = m_gamedef->ndef();
/*
Create the whole area of this and the neighboring blocks