summaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-08-15 11:49:39 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-08-15 11:49:39 +0300
commit472585a7e8e511e7cc210ad8e2c17cad9dfeb186 (patch)
treeab131c0da2aa37764d6a27bc269d8e365d3c53f9 /src/mapnode.h
parent8f42a8be0c760322207287e50b624bd3d388a2e1 (diff)
downloadminetest-472585a7e8e511e7cc210ad8e2c17cad9dfeb186.tar.gz
minetest-472585a7e8e511e7cc210ad8e2c17cad9dfeb186.tar.bz2
minetest-472585a7e8e511e7cc210ad8e2c17cad9dfeb186.zip
tuned lava/universal damage code
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index 7ac050ef0..3101a9fc1 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -164,6 +164,8 @@ struct ContentFeatures
// Digging properties for different tools
DiggingPropertiesList digging_properties;
+
+ u32 damage_per_second;
// NOTE: Move relevant properties to here from elsewhere
@@ -192,6 +194,7 @@ struct ContentFeatures
special_atlas = NULL;
light_source = 0;
digging_properties.clear();
+ damage_per_second = 0;
}
ContentFeatures()