mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed block-snapping
This commit is contained in:
parent
bb9725548f
commit
ed20a66b20
@ -1359,7 +1359,7 @@ fn box_voxel_collision<'a, T: BaseVol<Vox = Block> + ReadVol>(
|
||||
z_range.clone(),
|
||||
) && vel.0.z < 0.25
|
||||
&& vel.0.z > -1.5
|
||||
&& was_on_ground
|
||||
//&& was_on_ground
|
||||
&& block_snap
|
||||
{
|
||||
let snap_height = terrain
|
||||
|
Loading…
Reference in New Issue
Block a user