From 4a6b9a6ac1b07239474bce8d3ebf772ce75e862e Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 22 May 2011 23:55:02 +0300 Subject: Some work-in-progress stuff and many comment updates --- 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 00ebef840..c8e4e8449 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -252,6 +252,7 @@ void init_mapnode() f->pointable = false; f->diggable = false; f->buildable_to = true; + f->air_equivalent = true; i = CONTENT_WATER; f = &g_content_features[i]; @@ -303,6 +304,7 @@ void init_mapnode() f->solidness = 0; // drawn separately, makes no faces f->walkable = false; f->wall_mounted = true; + f->air_equivalent = true; f->dug_item = std::string("MaterialItem ")+itos(i)+" 1"; i = CONTENT_SIGN_WALL; @@ -314,6 +316,7 @@ void init_mapnode() f->solidness = 0; // drawn separately, makes no faces f->walkable = false; f->wall_mounted = true; + f->air_equivalent = true; f->dug_item = std::string("MaterialItem ")+itos(i)+" 1"; if(f->initial_metadata == NULL) f->initial_metadata = new SignNodeMetadata("Some sign"); -- cgit v1.2.3