1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Refactor EmergeParams owner

This commit is contained in:
sfan5 2023-01-25 18:32:32 +01:00
parent 32ff832108
commit 20b10b5691
4 changed files with 10 additions and 10 deletions

View file

@ -32,8 +32,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
MapgenSinglenode::MapgenSinglenode(MapgenParams *params, EmergeParams *emerge)
: Mapgen(MAPGEN_SINGLENODE, params, emerge)
{
const NodeDefManager *ndef = emerge->ndef;
c_node = ndef->getId("mapgen_singlenode");
if (c_node == CONTENT_IGNORE)
c_node = CONTENT_AIR;