summaryrefslogtreecommitdiff
path: root/src/tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool.h')
-rw-r--r--src/tool.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tool.h b/src/tool.h
index a92a77294..32f1962d0 100644
--- a/src/tool.h
+++ b/src/tool.h
@@ -29,12 +29,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
struct ToolGroupCap
{
std::map<int, float> times;
- float maxwear;
int maxlevel;
+ int uses;
ToolGroupCap():
- maxwear(0.05),
- maxlevel(1)
+ maxlevel(1),
+ uses(20)
{}
bool getTime(int rating, float *time) const