From 96c30452f9d2e6085769baa5befbcbcf62a507c4 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 14 Nov 2011 18:40:41 +0100 Subject: 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. --- src/materials.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/materials.h') 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, -- cgit v1.2.3