diff options
Diffstat (limited to 'src/test.cpp')
-rw-r--r-- | src/test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test.cpp b/src/test.cpp index a9ec6ffbb..80494e07a 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -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); |