diff options
author | aap <aap@papnet.eu> | 2019-06-17 23:31:00 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-17 23:31:00 +0200 |
commit | ad122405863fd2385e07fb9b22187374b1a1bff0 (patch) | |
tree | 9a59ce237de24773f892ff0f551b211845da2e3f /src/animation | |
parent | forgot main.h (diff) | |
download | re3-ad122405863fd2385e07fb9b22187374b1a1bff0.tar re3-ad122405863fd2385e07fb9b22187374b1a1bff0.tar.gz re3-ad122405863fd2385e07fb9b22187374b1a1bff0.tar.bz2 re3-ad122405863fd2385e07fb9b22187374b1a1bff0.tar.lz re3-ad122405863fd2385e07fb9b22187374b1a1bff0.tar.xz re3-ad122405863fd2385e07fb9b22187374b1a1bff0.tar.zst re3-ad122405863fd2385e07fb9b22187374b1a1bff0.zip |
Diffstat (limited to 'src/animation')
-rw-r--r-- | src/animation/AnimBlendAssocGroup.cpp | 2 | ||||
-rw-r--r-- | src/animation/AnimBlendAssociation.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/animation/AnimBlendAssocGroup.cpp b/src/animation/AnimBlendAssocGroup.cpp index 8b0001ac..fbca92b7 100644 --- a/src/animation/AnimBlendAssocGroup.cpp +++ b/src/animation/AnimBlendAssocGroup.cpp @@ -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++){ diff --git a/src/animation/AnimBlendAssociation.cpp b/src/animation/AnimBlendAssociation.cpp index 0e8d3d09..d94fe2c1 100644 --- a/src/animation/AnimBlendAssociation.cpp +++ b/src/animation/AnimBlendAssociation.cpp @@ -54,7 +54,7 @@ CAnimBlendAssociation::AllocateAnimBlendNodeArray(int n) void CAnimBlendAssociation::FreeAnimBlendNodeArray(void) { - ASSERT( nodes != NULL ); + assert(nodes != nil); RwFreeAlign(nodes); } |