diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-24 15:37:41 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-24 15:37:41 +0300 |
commit | c9967d6d07a4863f2278376b34bb68d86392e902 (patch) | |
tree | 58bc3c884d310dd045b170284eaa49bdf05d2a0b /src/mapnode.cpp | |
parent | ba88685fab339acd471ade642d24d9ca7e794f04 (diff) | |
download | minetest-c9967d6d07a4863f2278376b34bb68d86392e902.tar.gz minetest-c9967d6d07a4863f2278376b34bb68d86392e902.tar.bz2 minetest-c9967d6d07a4863f2278376b34bb68d86392e902.zip |
updated menu a bit, and some other small fixes
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r-- | src/mapnode.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp index 81408205f..2d4d75b37 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -128,6 +128,9 @@ void init_mapnode() for(u16 i=0; i<256; i++) { ContentFeatures *f = &g_content_features[i]; + // Re-initialize + *f = ContentFeatures(); + for(u16 j=0; j<6; j++) f->tiles[j].material_type = initial_material_type; } |