1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Add lighting test and benchmark (#12802)

This commit is contained in:
Jude Melton-Houghton
2022-09-26 06:49:08 -04:00
committed by GitHub
parent 8dec3a5ecb
commit f916398a54
10 changed files with 292 additions and 63 deletions

View File

@@ -183,7 +183,7 @@ static void set_node_in_block(MapBlock *block, v3s16 relpos, MapNode n)
}
// throws InvalidPositionException if not found
void Map::setNode(v3s16 p, MapNode & n)
void Map::setNode(v3s16 p, MapNode n)
{
v3s16 blockpos = getNodeBlockPos(p);
MapBlock *block = getBlockNoCreate(blockpos);