]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/unittest/test_mapnode.cpp
Merge pull request #35 from arydevy/patch-1
[dragonfireclient.git] / src / unittest / test_mapnode.cpp
index 145d16465eb1f8cffe5d1b3a48ac4ad7152e3067..365ee0c865e935fd61f4de757f069d5151f30de3 100644 (file)
@@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 #include "gamedef.h"
 #include "nodedef.h"
+#include "content_mapnode.h"
 
 class TestMapNode : public TestBase
 {
@@ -30,7 +31,7 @@ class TestMapNode : public TestBase
 
        void runTests(IGameDef *gamedef);
 
-       void testNodeProperties(INodeDefManager *nodedef);
+       void testNodeProperties(const NodeDefManager *nodedef);
 };
 
 static TestMapNode g_test_instance;
@@ -42,7 +43,7 @@ void TestMapNode::runTests(IGameDef *gamedef)
 
 ////////////////////////////////////////////////////////////////////////////////
 
-void TestMapNode::testNodeProperties(INodeDefManager *nodedef)
+void TestMapNode::testNodeProperties(const NodeDefManager *nodedef)
 {
        MapNode n(CONTENT_AIR);