1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00: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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);