mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-25 18:46:52 +01:00
fixed anim bug
This commit is contained in:
parent
50122c2d0f
commit
ad12240586
@ -139,7 +139,7 @@ CAnimBlendAssocGroup::CreateAssociations(const char *blockName, RpClump *clump,
|
||||
DestroyAssociations();
|
||||
|
||||
animBlock = CAnimManager::GetAnimationBlock(blockName);
|
||||
assocList = new CAnimBlendAssociation[animBlock->numAnims];
|
||||
assocList = new CAnimBlendAssociation[numAssocs];
|
||||
|
||||
numAssociations = 0;
|
||||
for(i = 0; i < numAssocs; i++){
|
||||
|
@ -54,7 +54,7 @@ CAnimBlendAssociation::AllocateAnimBlendNodeArray(int n)
|
||||
void
|
||||
CAnimBlendAssociation::FreeAnimBlendNodeArray(void)
|
||||
{
|
||||
ASSERT( nodes != NULL );
|
||||
assert(nodes != nil);
|
||||
RwFreeAlign(nodes);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user