Skip to content

Commit

Permalink
Merge pull request #1356 from Azaezel/development
Browse files Browse the repository at this point in the history
handle pathshapes comming in from above players more gracefully
  • Loading branch information
Azaezel authored Jan 16, 2025
2 parents 6b1a811 + 7b393b6 commit 2216143
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Engine/source/T3D/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2216143

Please sign in to comment.