ref: fix another typo made after R_StudioCalcBones refactor
This commit is contained in:
parent
f84d865f4a
commit
3e4c5beb25
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue