forked from Mirrorlandia_minetest/minetest
Android stepheight: Only increase if 'touching ground' (#6313)
This commit is contained in:
parent
e55aeec2e2
commit
0e0643df35
@ -285,6 +285,7 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d,
|
|||||||
// to all players, as this currently creates unintended special movement
|
// to all players, as this currently creates unintended special movement
|
||||||
// abilities and advantages for Android players on a server.
|
// abilities and advantages for Android players on a server.
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
|
if (touching_ground)
|
||||||
player_stepheight += (0.6f * BS);
|
player_stepheight += (0.6f * BS);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user