mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Omitted unnecessary test
This commit is contained in:
parent
4580752e78
commit
95eeb7e145
@ -231,7 +231,7 @@ where
|
||||
.get(pos + Vec3::unit_z() * 3)
|
||||
.map(|b| !b.is_solid())
|
||||
.unwrap_or(true))
|
||||
&& (dir.z > 0
|
||||
&& (dir.z >= 0
|
||||
|| vol
|
||||
.get(pos + *dir + Vec3::unit_z() * 2)
|
||||
.map(|b| !b.is_solid())
|
||||
|
Loading…
Reference in New Issue
Block a user