Decrease sneak margin to fix phasing through thin walls
(cherry picked from commit 803428eaff
)
merge-requests/1/head
parent
714de48c75
commit
365c63e99e
|
@ -1005,7 +1005,7 @@ void LocalPlayer::old_move(f32 dtime, Environment *env, f32 pos_max_d,
|
|||
std::fabs(player_p2df.Y - node_p2df.Y));
|
||||
|
||||
if (distance_f > min_distance_f ||
|
||||
max_axis_distance_f > 0.5f * BS + sneak_max + 0.1f * BS)
|
||||
max_axis_distance_f > 0.5f * BS + sneak_max + 0.05f * BS)
|
||||
continue;
|
||||
|
||||
// The node to be sneaked on has to be walkable
|
||||
|
|
Loading…
Reference in New Issue