Merge pull request #1356 from Azaezel/development

handle pathshapes comming in from above players more gracefully
This commit is contained in:
Brian Roberts 2025-01-15 20:36:35 -06:00 committed by GitHub
commit 221614383b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)