summaryrefslogtreecommitdiffstats
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
parentforgot main.h (diff)
downloadre3-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 '')
-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++){