Skip to content

Commit

Permalink
Fix invalid stepheight increase calculation on android
Browse files Browse the repository at this point in the history
  • Loading branch information
sapier authored and sapier committed Jan 11, 2015
1 parent 25235a4 commit 2d9b311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/localplayer.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 2d9b311

Please sign in to comment.