1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

itemgroup.h and ItemGroupList typedef

This commit is contained in:
Perttu Ahola 2012-03-04 14:22:35 +02:00
parent 0b21618a05
commit 07ed57476f
7 changed files with 17 additions and 28 deletions

View file

@ -182,7 +182,7 @@ void ServerRemotePlayer::punch(ServerActiveObject *puncher,
}
// "Material" groups of the player
std::map<std::string, int> groups;
ItemGroupList groups;
groups["choppy"] = 2;
groups["fleshy"] = 3;