summaryrefslogtreecommitdiff
path: root/src/nodedef.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-04 14:22:35 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-10 11:28:13 +0200
commit07ed57476f56c54e781ab33467d3373d976d24b1 (patch)
tree5643802c01133f963cf440c7486691c31dc31d89 /src/nodedef.h
parent0b21618a054fbfa9f4b5e99a5044f2b2dd1d642b (diff)
downloadminetest-07ed57476f56c54e781ab33467d3373d976d24b1.tar.gz
minetest-07ed57476f56c54e781ab33467d3373d976d24b1.tar.bz2
minetest-07ed57476f56c54e781ab33467d3373d976d24b1.zip
itemgroup.h and ItemGroupList typedef
Diffstat (limited to 'src/nodedef.h')
-rw-r--r--src/nodedef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nodedef.h b/src/nodedef.h
index 5196e0233..c875e0b75 100644
--- a/src/nodedef.h
+++ b/src/nodedef.h
@@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef SERVER
#include "tile.h"
#endif
+#include "itemgroup.h"
class IItemDefManager;
class ITextureSource;
class IGameDef;
@@ -148,7 +149,7 @@ struct ContentFeatures
*/
std::string name; // "" = undefined node
- std::map<std::string, int> groups; // Same as in itemdef
+ ItemGroupList groups; // Same as in itemdef
// Visual definition
enum NodeDrawType drawtype;