summaryrefslogtreecommitdiff
path: root/src/content_cao.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-21 14:36:21 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:50 +0200
commit290e9219208fd904807bded7ccdb7109a4f92bc6 (patch)
tree1bad6c56620e007c4177284e42386e4b0cea8b8f /src/content_cao.h
parent94feb62b087d61d0c211645970a36e6752d1c732 (diff)
downloadminetest-290e9219208fd904807bded7ccdb7109a4f92bc6.tar.gz
minetest-290e9219208fd904807bded7ccdb7109a4f92bc6.tar.bz2
minetest-290e9219208fd904807bded7ccdb7109a4f92bc6.zip
Relatively snappy object-ground collision detection
Diffstat (limited to 'src/content_cao.h')
-rw-r--r--src/content_cao.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_cao.h b/src/content_cao.h
index 3f6b9d877..fa7a0cb4c 100644
--- a/src/content_cao.h
+++ b/src/content_cao.h
@@ -92,7 +92,7 @@ struct SmoothTranslator
if(anim_time > 0.001)
moveratio = anim_time_counter / anim_time;
// Move a bit less than should, to avoid oscillation
- moveratio = moveratio * 0.5;
+ moveratio = moveratio * 0.8;
float move_end = 1.5;
if(aim_is_end)
move_end = 1.0;