From efd8dabd913b2d1a0564378c30ae86c7a5081f06 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 23 Aug 2011 03:01:01 +0300 Subject: Lava is now better visible inside water. (a crappy hack) --- src/mapnode.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mapnode.h') 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; -- cgit v1.2.3