1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Lava is now better visible inside water. (a crappy hack)

This commit is contained in:
Perttu Ahola 2011-08-23 03:01:01 +03:00
parent e4f443a57a
commit efd8dabd91
3 changed files with 20 additions and 12 deletions

View file

@ -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;