From 345e1041a204ca9d40a25b71ae239ce3275f0755 Mon Sep 17 00:00:00 2001 From: Hybrid Dog Date: Mon, 10 Apr 2017 20:03:53 +0200 Subject: Tool.cpp/.h, lua_api/l_util.cpp: Tidy up code and remove dead code --- src/tool.cpp | 63 +++++++++++++++++++++++------------------------------------- 1 file changed, 24 insertions(+), 39 deletions(-) (limited to 'src/tool.cpp') diff --git a/src/tool.cpp b/src/tool.cpp index 7128f1915..568f0af54 100644 --- a/src/tool.cpp +++ b/src/tool.cpp @@ -170,16 +170,13 @@ void ToolCapabilities::deserializeJson(std::istream &is) } DigParams getDigParams(const ItemGroupList &groups, - const ToolCapabilities *tp, float time_from_last_punch) + const ToolCapabilities *tp) { - //infostream<<"getDigParams"<