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:
1ae9e0a
)
dig_immediate=3 instead of 1 means 0 seconds
author
Perttu Ahola
<celeron55@gmail.com>
Fri, 9 Mar 2012 23:48:15 +0000
(
01:48
+0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 10 Mar 2012 09:28:14 +0000
(11:28 +0200)
src/tool.cpp
patch
|
blob
|
history
diff --git
a/src/tool.cpp
b/src/tool.cpp
index d6f994307aeb00495e5b13555821e79a547d0f42..f66fb4e51b51536f19dd9222c3bc0f10fded01e7 100644
(file)
--- a/
src/tool.cpp
+++ b/
src/tool.cpp
@@
-75,12
+75,12
@@
DigParams getDigParams(const ItemGroupList &groups,
//infostream<<"getDigParams"<<std::endl;
/* Check group dig_immediate */
switch(itemgroup_get(groups, "dig_immediate")){
- case 1:
- //infostream<<"dig_immediate=1"<<std::endl;
- return DigParams(true, 0.0, 0);
case 2:
//infostream<<"dig_immediate=2"<<std::endl;
return DigParams(true, 1.0, 0);
+ case 3:
+ //infostream<<"dig_immediate=3"<<std::endl;
+ return DigParams(true, 0.0, 0);
default:
break;
}