engine: handle swapping sequence files in LoadCacheFile for games with external StudioModelRenderer

This commit is contained in:
Alibek Omarov
2026-04-25 03:56:45 +05:00
parent 6256d99345
commit dcc5756649
10 changed files with 44 additions and 1 deletions
+1 -1
View File
@@ -550,7 +550,7 @@ static void Mod_StudioCalcRotations( int boneused[], int numbones, const byte *p
}
static void Mod_SwapStudioSeqGroupAnims( studiohdr_t *phdr, mstudioseqdesc_t *pseq, byte *buf )
void Mod_SwapStudioSeqGroupAnims( studiohdr_t *phdr, mstudioseqdesc_t *pseq, byte *buf )
{
mstudioanim_t *panim = (mstudioanim_t *)( buf + pseq->animindex );
int numanims = pseq->numblends * phdr->numbones;