projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15da308
)
dig_immediate=2 -> 0.5 seconds digging time
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 10 Mar 2012 15:25:14 +0000
(17:25 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 10 Mar 2012 15:25:14 +0000
(17:25 +0200)
src/tool.cpp
patch
|
blob
|
history
diff --git
a/src/tool.cpp
b/src/tool.cpp
index f66fb4e51b51536f19dd9222c3bc0f10fded01e7..40bcdc69a59616825d1607a925544164e691897d 100644
(file)
--- a/
src/tool.cpp
+++ b/
src/tool.cpp
@@
-77,7
+77,7
@@
DigParams getDigParams(const ItemGroupList &groups,
switch(itemgroup_get(groups, "dig_immediate")){
case 2:
//infostream<<"dig_immediate=2"<<std::endl;
- return DigParams(true,
1.0
, 0);
+ return DigParams(true,
0.5
, 0);
case 3:
//infostream<<"dig_immediate=3"<<std::endl;
return DigParams(true, 0.0, 0);