ref: fix another typo made after R_StudioCalcBones refactor

This commit is contained in:
Alibek Omarov 2025-02-18 19:22:06 +03:00
parent f84d865f4a
commit 3e4c5beb25
2 changed files with 2 additions and 2 deletions

View file

@ -816,7 +816,7 @@ static void R_StudioCalcRotations( cl_entity_t *e, float pos[][3], vec4_t *q, ms
R_StudioCalcBoneAdj( dadt, adj, e->curstate.controller, e->latched.prevcontroller, e->mouth.mouthopen );
for( i = 0; i < m_pStudioHeader->numbones; i++, pbone++, panim++ )
R_StudioCalcBones( frame, s, pbone, panim, adj, q[i], pos[i] );
R_StudioCalcBones( frame, s, pbone, panim, adj, pos[i], q[i] );
if( pseqdesc->motiontype & STUDIO_X ) pos[pseqdesc->motionbone][0] = 0.0f;
if( pseqdesc->motiontype & STUDIO_Y ) pos[pseqdesc->motionbone][1] = 0.0f;

View file

@ -835,7 +835,7 @@ static void R_StudioCalcRotations( cl_entity_t *e, float pos[][3], vec4_t *q, ms
R_StudioCalcBoneAdj( dadt, adj, e->curstate.controller, e->latched.prevcontroller, e->mouth.mouthopen );
for( i = 0; i < m_pStudioHeader->numbones; i++, pbone++, panim++ )
R_StudioCalcBones( frame, s, pbone, panim, adj, q[i], pos[i] );
R_StudioCalcBones( frame, s, pbone, panim, adj, pos[i], q[i] );
if( pseqdesc->motiontype & STUDIO_X )
pos[pseqdesc->motionbone][0] = 0.0f;