1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Add support for different drowning damage and allow drowning in other nodetypes

This commit is contained in:
BlockMen
2013-08-01 18:36:11 +02:00
committed by PilzAdam
parent ba65e2ae6c
commit 7b13d119ed
7 changed files with 15 additions and 8 deletions

View File

@@ -220,7 +220,7 @@ void ContentFeatures::reset()
liquid_renewable = true;
freezemelt = "";
liquid_range = LIQUID_LEVEL_MAX+1;
drowning = true;
drowning = 0;
light_source = 0;
damage_per_second = 0;
node_box = NodeBox();