mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Create empty default constructor for MapNode
This commit is contained in:
@@ -855,9 +855,8 @@ struct TestMapNode: public TestBase
|
||||
{
|
||||
void Run(INodeDefManager *nodedef)
|
||||
{
|
||||
MapNode n;
|
||||
MapNode n(CONTENT_AIR);
|
||||
|
||||
// Default values
|
||||
UASSERT(n.getContent() == CONTENT_AIR);
|
||||
UASSERT(n.getLight(LIGHTBANK_DAY, nodedef) == 0);
|
||||
UASSERT(n.getLight(LIGHTBANK_NIGHT, nodedef) == 0);
|
||||
|
Reference in New Issue
Block a user