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:
parent
e4f443a57a
commit
efd8dabd91
3 changed files with 20 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue