Skip to content

Commit d01b65a

Browse files
stujones11nerzhul
authored andcommittedAug 23, 2017
Do not add base position to player selection box (#6241)
1 parent e2a6b7c commit d01b65a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎src/content_sao.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,8 @@ bool PlayerSAO::getSelectionBox(aabb3f *toset) const
14301430
return false;
14311431
}
14321432

1433-
getCollisionBox(toset);
1433+
toset->MinEdge = m_prop.collisionbox.MinEdge * BS;
1434+
toset->MaxEdge = m_prop.collisionbox.MaxEdge * BS;
14341435

14351436
return true;
14361437
}

0 commit comments

Comments
 (0)