mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix block-snapping at low framerates
This commit is contained in:
parent
9ff7db9b1c
commit
a19212daf7
@ -1363,7 +1363,6 @@ fn box_voxel_collision<'a, T: BaseVol<Vox = Block> + ReadVol>(
|
|||||||
radius,
|
radius,
|
||||||
z_range.clone(),
|
z_range.clone(),
|
||||||
) && vel.0.z <= 0.0
|
) && vel.0.z <= 0.0
|
||||||
&& vel.0.z > -1.5
|
|
||||||
&& was_on_ground
|
&& was_on_ground
|
||||||
&& block_snap
|
&& block_snap
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user