mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'zesterer-master-patch-28400' into 'master'
Fix jump routes not being pathed See merge request veloren/veloren!1706
This commit is contained in:
commit
b9b36e0bf5
@ -546,7 +546,9 @@ where
|
||||
.chain(
|
||||
Some(JUMPS.iter())
|
||||
.filter(|_| {
|
||||
vol.get(pos).map(|b| !b.is_liquid()).unwrap_or(true)
|
||||
vol.get(pos - Vec3::unit_z())
|
||||
.map(|b| !b.is_liquid())
|
||||
.unwrap_or(true)
|
||||
|| traversal_cfg.can_climb
|
||||
|| traversal_cfg.can_fly
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user