summaryrefslogtreecommitdiff
path: root/src/materials.h
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-11-14 18:40:41 +0100
committerPerttu Ahola <celeron55@gmail.com>2011-12-01 10:39:47 +0200
commit96c30452f9d2e6085769baa5befbcbcf62a507c4 (patch)
treec553750e145bc43814e1a078b646c3c259ff94d4 /src/materials.h
parent4d0f227c7074047897957a88784a36dd77f7bad7 (diff)
downloadminetest-96c30452f9d2e6085769baa5befbcbcf62a507c4.tar.gz
minetest-96c30452f9d2e6085769baa5befbcbcf62a507c4.tar.bz2
minetest-96c30452f9d2e6085769baa5befbcbcf62a507c4.zip
Fix structs being declared as classes
Some compilers complain when a class is declared as a struct or vice versa. Fix by making sure that the correct tag is used both in declaration and definition.
Diffstat (limited to 'src/materials.h')
-rw-r--r--src/materials.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/materials.h b/src/materials.h
index 9db33fc63..bcf930581 100644
--- a/src/materials.h
+++ b/src/materials.h
@@ -93,7 +93,7 @@ struct DiggingProperties
u16 wear;
};
-class ToolDiggingProperties;
+struct ToolDiggingProperties;
class INodeDefManager;
DiggingProperties getDiggingProperties(u16 content, ToolDiggingProperties *tp,