forked from Mirrorlandia_minetest/minetest
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
getCollisionBox(toset);
|
toset->MinEdge = m_prop.collisionbox.MinEdge * BS;
|
||||||
|
toset->MaxEdge = m_prop.collisionbox.MaxEdge * BS;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user