mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
tuned lava/universal damage code
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user