mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Prevented stalling when jumping before a block-hopping
This commit is contained in:
parent
45e30d0c84
commit
2985f94751
@ -260,7 +260,6 @@ impl<'a> System<'a> for Sys {
|
||||
// If the space above is free...
|
||||
if !collision_with(pos.0 + Vec3::unit_z() * 1.1, near_iter.clone())
|
||||
&& resolve_dir.z == 0.0
|
||||
&& vel.0.z <= 0.0
|
||||
&& collision_with(
|
||||
pos.0 + resolve_dir - Vec3::unit_z() * 1.05,
|
||||
near_iter.clone(),
|
||||
|
Loading…
Reference in New Issue
Block a user