From 3e4c5beb2558a61f42c7c3597f4f13e990df9ef2 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 18 Feb 2025 19:22:06 +0300 Subject: [PATCH] ref: fix another typo made after R_StudioCalcBones refactor --- ref/gl/gl_studio.c | 2 +- ref/soft/r_studio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ref/gl/gl_studio.c b/ref/gl/gl_studio.c index 3507b06f..8b1fbca8 100644 --- a/ref/gl/gl_studio.c +++ b/ref/gl/gl_studio.c @@ -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; diff --git a/ref/soft/r_studio.c b/ref/soft/r_studio.c index 51b19375..8212272f 100644 --- a/ref/soft/r_studio.c +++ b/ref/soft/r_studio.c @@ -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;