1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

tuned lava/universal damage code

This commit is contained in:
Perttu Ahola 2011-08-15 11:49:39 +03:00
parent 8f42a8be0c
commit 472585a7e8
3 changed files with 22 additions and 7 deletions

View file

@ -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()