projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25235a4
)
Fix invalid stepheight increase calculation on android
author
sapier
<Sapier at GMX dot net>
Sun, 11 Jan 2015 12:57:26 +0000
(13:57 +0100)
committer
sapier
<Sapier at GMX dot net>
Sun, 11 Jan 2015 12:57:26 +0000
(13:57 +0100)
src/localplayer.cpp
patch
|
blob
|
history
diff --git
a/src/localplayer.cpp
b/src/localplayer.cpp
index 8570dd2f0bbfc8dde88d46a93ecde26f21ad0a9f..a5ce147c1975551468e56305b1d7fd40217d6e72 100644
(file)
--- 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);