aboutsummaryrefslogtreecommitdiff
path: root/src/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.cpp')
-rw-r--r--src/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.cpp b/src/test.cpp
index c998a97ab..2a25ed656 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -229,7 +229,7 @@ struct TestMapNode
// Transparency
n.setContent(CONTENT_AIR);
assert(nodedef->get(n).light_propagates == true);
- n.setContent(CONTENT_STONE);
+ n.setContent(LEGN(nodedef, "CONTENT_STONE"));
assert(nodedef->get(n).light_propagates == false);
}
};