Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not add base position to player selection box (#6241)
  • Loading branch information
stujones11 authored and nerzhul committed Aug 23, 2017
1 parent e2a6b7c commit d01b65a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/content_sao.cpp
Expand Up @@ -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;
}

0 comments on commit d01b65a

Please sign in to comment.