aboutsummaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-08-23 03:01:01 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-08-23 03:01:01 +0300
commitefd8dabd913b2d1a0564378c30ae86c7a5081f06 (patch)
tree8584bbcbabcafd9c38a2fcf25d5e0ea7c96029c0 /src/mapnode.h
parente4f443a57a1b1ecd95282de2908824078d19dea5 (diff)
downloadminetest-efd8dabd913b2d1a0564378c30ae86c7a5081f06.tar.gz
minetest-efd8dabd913b2d1a0564378c30ae86c7a5081f06.tar.bz2
minetest-efd8dabd913b2d1a0564378c30ae86c7a5081f06.zip
Lava is now better visible inside water. (a crappy hack)
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index 4c2b92853..3ad67aaf6 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -121,6 +121,7 @@ struct ContentFeatures
bool light_propagates;
bool sunlight_propagates;
u8 solidness; // Used when choosing which face is drawn
+ u8 visual_solidness; // When solidness=0, this tells how it looks like
// This is used for collision detection.
// Also for general solidness queries.
bool walkable;
@@ -181,6 +182,7 @@ struct ContentFeatures
light_propagates = false;
sunlight_propagates = false;
solidness = 2;
+ visual_solidness = 0;
walkable = true;
pointable = true;
diggable = true;