summaryrefslogtreecommitdiff
path: root/src/nodedef.h
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2013-08-01 18:36:11 +0200
committerPilzAdam <pilzadam@minetest.net>2013-08-06 17:49:39 +0200
commit7b13d119ed917c137fc375eff790a7754fd93386 (patch)
tree7372138943e6ad4db52a037e95fec70035b5ffaa /src/nodedef.h
parentba65e2ae6c9578309049b685f3052e424fb410b8 (diff)
downloadminetest-7b13d119ed917c137fc375eff790a7754fd93386.tar.gz
minetest-7b13d119ed917c137fc375eff790a7754fd93386.tar.bz2
minetest-7b13d119ed917c137fc375eff790a7754fd93386.zip
Add support for different drowning damage and allow drowning in other nodetypes
Diffstat (limited to 'src/nodedef.h')
-rw-r--r--src/nodedef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodedef.h b/src/nodedef.h
index 714e1ba2c..c0322d919 100644
--- a/src/nodedef.h
+++ b/src/nodedef.h
@@ -228,7 +228,7 @@ struct ContentFeatures
std::string freezemelt;
// Number of flowing liquids surrounding source
u8 liquid_range;
- bool drowning;
+ u8 drowning;
// Amount of light the node emits
u8 light_source;
u32 damage_per_second;