Skip to content

Commit

Permalink
Fixes #831 in sp. No reason to rotate footprints by 90 degrees. (#1075)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Lo <[email protected]>
  • Loading branch information
TwelveEyes and xycaleth authored May 5, 2021
1 parent 479a83a commit 5ce9406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/cgame/cg_players.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3829,7 +3829,7 @@ static void CG_PlayerFootsteps( centity_t *const cent, footstepType_t footStepTy
gi.G2API_GiveMeVectorFromMatrix( boltMatrix, ORIGIN, sideOrigin );
gi.G2API_GiveMeVectorFromMatrix( boltMatrix, NEGATIVE_Y, footDownDir );
VectorMA( sideOrigin, -8.0f, footDownDir, sideOrigin );//was [2] += 15; //fudge up a bit for coplanar
_PlayerFootStep( sideOrigin, footDownDir, cent->pe.legs.yawAngle-90, 6, cent, footStepType );
_PlayerFootStep( sideOrigin, footDownDir, cent->pe.legs.yawAngle, 6, cent, footStepType );
}
}

Expand Down

0 comments on commit 5ce9406

Please sign in to comment.