Skip to content

Commit 2d9b311

Browse files
sapiersapier
sapier
authored and
sapier
committedJan 11, 2015
Fix invalid stepheight increase calculation on android
1 parent 25235a4 commit 2d9b311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/localplayer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d,
209209
float player_stepheight = touching_ground ? (BS*0.6) : (BS*0.2);
210210

211211
#ifdef __ANDROID__
212-
player_stepheight += 0.5;
212+
player_stepheight += (0.5 * BS);
213213
#endif
214214

215215
v3f accel_f = v3f(0,0,0);

0 commit comments

Comments
 (0)
Please sign in to comment.