Skip to content
Snippets Groups Projects
Commit 2d9b311e authored by sapier's avatar sapier
Browse files

Fix invalid stepheight increase calculation on android

parent 25235a43
No related branches found
No related tags found
No related merge requests found
...@@ -209,7 +209,7 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d, ...@@ -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); float player_stepheight = touching_ground ? (BS*0.6) : (BS*0.2);
#ifdef __ANDROID__ #ifdef __ANDROID__
player_stepheight += 0.5; player_stepheight += (0.5 * BS);
#endif #endif
v3f accel_f = v3f(0,0,0); v3f accel_f = v3f(0,0,0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment