mirror of
https://github.com/Haui1112/minetest.git
synced 2024-10-23 06:31:52 +02:00
Do not add base position to player selection box (#6241)
This commit is contained in:
parent
e2a6b7c8d2
commit
d01b65abeb
|
@ -1430,7 +1430,8 @@ bool PlayerSAO::getSelectionBox(aabb3f *toset) const
|
|||
return false;
|
||||
}
|
||||
|
||||
getCollisionBox(toset);
|
||||
toset->MinEdge = m_prop.collisionbox.MinEdge * BS;
|
||||
toset->MaxEdge = m_prop.collisionbox.MaxEdge * BS;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue