From c6fd2986d4261cf742d3bc21e8c12be59ab89f95 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 14 Nov 2011 21:41:30 +0200 Subject: GameDef compiles --- src/content_tool.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content_tool.cpp') 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))); } -- cgit v1.2.3