summaryrefslogtreecommitdiffstats
path: root/src/animation/AnimBlendAssocGroup.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-05-15 20:30:57 +0200
committerGitHub <noreply@github.com>2020-05-15 20:30:57 +0200
commit8ff72f0728acbba293580042135f43268fa340fe (patch)
tree23cb65ca52efe5e964423ee50eff0e60ce8e155a /src/animation/AnimBlendAssocGroup.cpp
parentCPedIK (diff)
parentWeapon layer in Peds (diff)
downloadre3-8ff72f0728acbba293580042135f43268fa340fe.tar
re3-8ff72f0728acbba293580042135f43268fa340fe.tar.gz
re3-8ff72f0728acbba293580042135f43268fa340fe.tar.bz2
re3-8ff72f0728acbba293580042135f43268fa340fe.tar.lz
re3-8ff72f0728acbba293580042135f43268fa340fe.tar.xz
re3-8ff72f0728acbba293580042135f43268fa340fe.tar.zst
re3-8ff72f0728acbba293580042135f43268fa340fe.zip
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 c3d6b2c1..c5711fda 100644
--- a/src/animation/AnimBlendAssocGroup.cpp
+++ b/src/animation/AnimBlendAssocGroup.cpp
@@ -44,7 +44,7 @@ CAnimBlendAssocGroup::DestroyAssociations(void)
CAnimBlendAssociation*
CAnimBlendAssocGroup::GetAnimation(uint32 id)
{
- return &assocList[id];
+ return &assocList[id - firstAnimId];
}
CAnimBlendAssociation*