mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
Do not add base position to player selection box (#6241)
This commit is contained in:
parent
e2a6b7c8d2
commit
d01b65abeb
1 changed files with 2 additions and 1 deletions
|
@ -1430,7 +1430,8 @@ bool PlayerSAO::getSelectionBox(aabb3f *toset) const
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
getCollisionBox(toset);
|
toset->MinEdge = m_prop.collisionbox.MinEdge * BS;
|
||||||
|
toset->MaxEdge = m_prop.collisionbox.MaxEdge * BS;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue