mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
extended content-type range
This commit is contained in:
parent
f706644a50
commit
90d793f8f3
27 changed files with 428 additions and 318 deletions
|
@ -3,12 +3,12 @@
|
|||
|
||||
// NOTE: DEPRECATED
|
||||
|
||||
DiggingPropertiesList * getDiggingPropertiesList(u8 content)
|
||||
DiggingPropertiesList * getDiggingPropertiesList(u16 content)
|
||||
{
|
||||
return &content_features(content).digging_properties;
|
||||
}
|
||||
|
||||
DiggingProperties getDiggingProperties(u8 content, const std::string &tool)
|
||||
DiggingProperties getDiggingProperties(u16 content, const std::string &tool)
|
||||
{
|
||||
DiggingPropertiesList *mprop = getDiggingPropertiesList(content);
|
||||
if(mprop == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue