diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-16 14:08:31 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:47 +0200 |
commit | df8346ef4d70ba7c717c4c7b9c783df876378ca8 (patch) | |
tree | 9a7e57fcc17942bde7505ff37838d6ab253cedf9 /src/test.cpp | |
parent | c0f6395cf09f658eb95365c60f67b8a89104cb23 (diff) | |
download | minetest-df8346ef4d70ba7c717c4c7b9c783df876378ca8.tar.gz minetest-df8346ef4d70ba7c717c4c7b9c783df876378ca8.tar.bz2 minetest-df8346ef4d70ba7c717c4c7b9c783df876378ca8.zip |
Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter wrapper in old code
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); } }; |