handle pathshapes comming in from above players more gracefully

if you're within a pathshape as it moves, put you on top
This commit is contained in:
AzaezelX 2025-01-15 20:35:02 -06:00
parent 67ae3d136b
commit 7b393b668b

View file

@ -4771,6 +4771,9 @@ void Player::updateAttachment(){
Point3F(pos.x, pos.y, pos.z - 1.0f ),
PathShapeObjectType, &rInfo))
{
if ((mJumpSurfaceLastContact < JumpSkipContactsMax) && !mSwimming)
setPosition(rInfo.point, getRotation());
if( rInfo.object->getTypeMask() & PathShapeObjectType) //Ramen
{
if (getParent() == NULL)