1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 06:40:01 +00:00

fixed anim bug

This commit is contained in:
aap 2019-06-17 23:31:00 +02:00
parent 50122c2d0f
commit ad12240586
2 changed files with 2 additions and 2 deletions

View file

@ -139,7 +139,7 @@ CAnimBlendAssocGroup::CreateAssociations(const char *blockName, RpClump *clump,
DestroyAssociations(); DestroyAssociations();
animBlock = CAnimManager::GetAnimationBlock(blockName); animBlock = CAnimManager::GetAnimationBlock(blockName);
assocList = new CAnimBlendAssociation[animBlock->numAnims]; assocList = new CAnimBlendAssociation[numAssocs];
numAssociations = 0; numAssociations = 0;
for(i = 0; i < numAssocs; i++){ for(i = 0; i < numAssocs; i++){

View file

@ -54,7 +54,7 @@ CAnimBlendAssociation::AllocateAnimBlendNodeArray(int n)
void void
CAnimBlendAssociation::FreeAnimBlendNodeArray(void) CAnimBlendAssociation::FreeAnimBlendNodeArray(void)
{ {
ASSERT( nodes != NULL ); assert(nodes != nil);
RwFreeAlign(nodes); RwFreeAlign(nodes);
} }