summaryrefslogtreecommitdiff
path: root/src/animation/AnimBlendAssocGroup.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-17 23:31:00 +0200
committeraap <aap@papnet.eu>2019-06-17 23:31:00 +0200
commitad122405863fd2385e07fb9b22187374b1a1bff0 (patch)
tree9a59ce237de24773f892ff0f551b211845da2e3f /src/animation/AnimBlendAssocGroup.cpp
parent50122c2d0ff645c896e2368f60a3a8967f724c62 (diff)
fixed anim bug
Diffstat (limited to 'src/animation/AnimBlendAssocGroup.cpp')
-rw-r--r--src/animation/AnimBlendAssocGroup.cpp2
1 files changed, 1 insertions, 1 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++){