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:
3e07c5b
)
Get rid of jordan4ibanez's insane digging animation speed
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 2 Dec 2012 01:10:23 +0000
(
03:10
+0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 2 Dec 2012 01:10:23 +0000
(
03:10
+0200)
src/camera.cpp
patch
|
blob
|
history
diff --git
a/src/camera.cpp
b/src/camera.cpp
index 0c391f10dc880daccac7fc2549720c6923ac05b1..ca2a6eb53db8365a503aeb495b12ad7884225bb1 100644
(file)
--- a/
src/camera.cpp
+++ b/
src/camera.cpp
@@
-189,7
+189,7
@@
void Camera::step(f32 dtime)
if (m_digging_button != -1)
{
- f32 offset = dtime *
4
.5;
+ f32 offset = dtime *
3
.5;
float m_digging_anim_was = m_digging_anim;
m_digging_anim += offset;
if (m_digging_anim >= 1)