diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-14 21:41:30 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:42 +0200 |
commit | c6fd2986d4261cf742d3bc21e8c12be59ab89f95 (patch) | |
tree | ef6ce8210f7f017bce42a024b75a44e73b5ab139 /src/content_tool.cpp | |
parent | abceeee92f99b84ebb79968269835a4f509bfb90 (diff) | |
download | minetest-c6fd2986d4261cf742d3bc21e8c12be59ab89f95.tar.gz minetest-c6fd2986d4261cf742d3bc21e8c12be59ab89f95.tar.bz2 minetest-c6fd2986d4261cf742d3bc21e8c12be59ab89f95.zip |
GameDef compiles
Diffstat (limited to 'src/content_tool.cpp')
-rw-r--r-- | src/content_tool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content_tool.cpp b/src/content_tool.cpp index c7c5504f5..d46401e54 100644 --- a/src/content_tool.cpp +++ b/src/content_tool.cpp @@ -18,9 +18,9 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #include "content_tool.h" -#include "tool.h" +#include "tooldef.h" -void content_tool_init(IToolDefManager *mgr) +void content_tool_init(IWritableToolDefManager *mgr) { mgr->registerTool("WPick", ToolDefinition("tool_woodpick.png", @@ -62,7 +62,7 @@ void content_tool_init(IToolDefManager *mgr) ToolDefinition("tool_steelsword.png", ToolDiggingProperties(2.0, 3,0,1,-1, 300, 0,0,0,0))); mgr->registerTool("", - ToolDefinition("tool_hand.png", + ToolDefinition("tooldef.hand.png", ToolDiggingProperties(0.5, 1,0,-1,0, 50, 0,0,0,0))); } |