Merge branch 'ygor/fix-glider-stuck-inside-wall' into 'master'

Reset on_ceiling when not on ceiling

See merge request veloren/veloren!2247
This commit is contained in:
Samuel Keiffer 2021-05-30 21:09:31 +00:00
commit 58dcec79b5

View File

@ -1317,6 +1317,7 @@ fn box_voxel_collision<'a, T: BaseVol<Vox = Block> + ReadVol>(
}
physics_state.on_ground = false;
physics_state.on_ceiling = false;
let mut on_ground = false;
let mut on_ceiling = false;