mirror of
https://github.com/minetest/minetest.git
synced 2024-11-10 01:33:46 +01:00
Fix invalid stepheight increase calculation on android
This commit is contained in:
parent
25235a4324
commit
2d9b311e7b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user