mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
itemgroup.h and ItemGroupList typedef
This commit is contained in:
parent
0b21618a05
commit
07ed57476f
7 changed files with 17 additions and 28 deletions
|
@ -724,7 +724,7 @@ void Oerkki1SAO::punch(ServerActiveObject *puncher, float time_from_last_punch)
|
|||
m_speed_f += dir*12*BS;
|
||||
|
||||
// "Material" groups of the object
|
||||
std::map<std::string, int> groups;
|
||||
ItemGroupList groups;
|
||||
groups["snappy"] = 1;
|
||||
groups["choppy"] = 1;
|
||||
groups["fleshy"] = 3;
|
||||
|
@ -1419,7 +1419,7 @@ void MobV2SAO::punch(ServerActiveObject *puncher, float time_from_last_punch)
|
|||
|
||||
|
||||
// "Material" groups of the object
|
||||
std::map<std::string, int> groups;
|
||||
ItemGroupList groups;
|
||||
groups["snappy"] = 1;
|
||||
groups["choppy"] = 1;
|
||||
groups["fleshy"] = 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue