diff options
Diffstat (limited to 'src/test.cpp')
-rw-r--r-- | src/test.cpp | 2 |
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); } }; |