From c9967d6d07a4863f2278376b34bb68d86392e902 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 24 Apr 2011 15:37:41 +0300 Subject: updated menu a bit, and some other small fixes --- src/mapnode.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mapnode.cpp') 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; } -- cgit v1.2.3