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:
parent
8f42a8be0c
commit
472585a7e8
3 changed files with 22 additions and 7 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue