diff options
author | sapier <Sapier at GMX dot net> | 2015-01-11 13:57:26 +0100 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2015-01-11 13:57:26 +0100 |
commit | 2d9b311e7b6c20382790e82f0ccf74f91278a0c3 (patch) | |
tree | ce59d23072362d9b1b8044a8f31427918efa0027 /src | |
parent | 25235a432425e60b1b917adcc669449933403cb1 (diff) | |
download | minetest-2d9b311e7b6c20382790e82f0ccf74f91278a0c3.tar.gz minetest-2d9b311e7b6c20382790e82f0ccf74f91278a0c3.tar.bz2 minetest-2d9b311e7b6c20382790e82f0ccf74f91278a0c3.zip |
Fix invalid stepheight increase calculation on android
Diffstat (limited to 'src')
-rw-r--r-- | src/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 8570dd2f0..a5ce147c1 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -209,7 +209,7 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d, float player_stepheight = touching_ground ? (BS*0.6) : (BS*0.2); #ifdef __ANDROID__ - player_stepheight += 0.5; + player_stepheight += (0.5 * BS); #endif v3f accel_f = v3f(0,0,0); |