diff options
author | stujones11 <stujones111@gmail.com> | 2017-08-23 13:18:44 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-23 14:18:44 +0200 |
commit | d01b65abebf3b2e86d076c6b69996fd3a205a960 (patch) | |
tree | 22b4a40772e6ec5e248bb6c20c00cfd534b932e9 /src | |
parent | e2a6b7c8d29a674504f80b7948a71c4a36af4ad0 (diff) | |
download | minetest-d01b65abebf3b2e86d076c6b69996fd3a205a960.tar.gz minetest-d01b65abebf3b2e86d076c6b69996fd3a205a960.tar.bz2 minetest-d01b65abebf3b2e86d076c6b69996fd3a205a960.zip |
Do not add base position to player selection box (#6241)
Diffstat (limited to 'src')
-rw-r--r-- | src/content_sao.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content_sao.cpp b/src/content_sao.cpp index bbd30627a..621a64de0 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -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; } |