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:
parent
8dec3a5ecb
commit
f916398a54
10 changed files with 292 additions and 63 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue