mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: fix another typo made after R_StudioCalcBones refactor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user