diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-08-15 11:49:39 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-08-15 11:49:39 +0300 |
commit | 472585a7e8e511e7cc210ad8e2c17cad9dfeb186 (patch) | |
tree | ab131c0da2aa37764d6a27bc269d8e365d3c53f9 /src/content_mapnode.cpp | |
parent | 8f42a8be0c760322207287e50b624bd3d388a2e1 (diff) | |
download | minetest-472585a7e8e511e7cc210ad8e2c17cad9dfeb186.tar.gz minetest-472585a7e8e511e7cc210ad8e2c17cad9dfeb186.tar.bz2 minetest-472585a7e8e511e7cc210ad8e2c17cad9dfeb186.zip |
tuned lava/universal damage code
Diffstat (limited to 'src/content_mapnode.cpp')
-rw-r--r-- | src/content_mapnode.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index 3c1353467..f3d5b9f59 100644 --- a/src/content_mapnode.cpp +++ b/src/content_mapnode.cpp @@ -449,6 +449,7 @@ void content_mapnode_init() f->liquid_type = LIQUID_FLOWING; f->liquid_alternative_flowing = CONTENT_LAVA; f->liquid_alternative_source = CONTENT_LAVASOURCE; + f->damage_per_second = 4*2; if(f->special_material == NULL && g_texturesource) { // Flowing lava material @@ -496,6 +497,7 @@ void content_mapnode_init() f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1"; f->liquid_alternative_flowing = CONTENT_LAVA; f->liquid_alternative_source = CONTENT_LAVASOURCE; + f->damage_per_second = 4*2; if(f->special_material == NULL && g_texturesource) { // Flowing lava material |