summaryrefslogtreecommitdiffstats
path: root/src/animation/RpAnimBlend.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-18 23:47:38 +0100
committeraap <aap@papnet.eu>2020-12-18 23:47:38 +0100
commitdf5bafc80c544382b3def3925e50cf2ad3382a03 (patch)
tree75f3e11e1265aadc0eae2eab10cdf582e1c176fa /src/animation/RpAnimBlend.cpp
parentlittle cleanup of templates (diff)
downloadre3-df5bafc80c544382b3def3925e50cf2ad3382a03.tar
re3-df5bafc80c544382b3def3925e50cf2ad3382a03.tar.gz
re3-df5bafc80c544382b3def3925e50cf2ad3382a03.tar.bz2
re3-df5bafc80c544382b3def3925e50cf2ad3382a03.tar.lz
re3-df5bafc80c544382b3def3925e50cf2ad3382a03.tar.xz
re3-df5bafc80c544382b3def3925e50cf2ad3382a03.tar.zst
re3-df5bafc80c544382b3def3925e50cf2ad3382a03.zip
Diffstat (limited to 'src/animation/RpAnimBlend.cpp')
-rw-r--r--src/animation/RpAnimBlend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/animation/RpAnimBlend.cpp b/src/animation/RpAnimBlend.cpp
index dcb656ee..e430e52a 100644
--- a/src/animation/RpAnimBlend.cpp
+++ b/src/animation/RpAnimBlend.cpp
@@ -8,6 +8,7 @@
#include "AnimBlendClumpData.h"
#include "AnimBlendHierarchy.h"
#include "AnimBlendAssociation.h"
+#include "AnimManager.h"
#include "RpAnimBlend.h"
#ifdef PED_SKIN
#include "PedModelInfo.h"
@@ -441,7 +442,7 @@ RpAnimBlendClumpUpdateAnimations(RpClump *clump, float timeDelta)
next = link->next;
CAnimBlendAssociation *assoc = CAnimBlendAssociation::FromLink(link);
if(assoc->UpdateBlend(timeDelta)){
- // CAnimManager::UncompressAnimation(v6->hierarchy)
+ CAnimManager::UncompressAnimation(assoc->hierarchy);
updateData.nodes[i++] = assoc->GetNode(0);
if(assoc->flags & ASSOC_MOVEMENT){
totalLength += assoc->hierarchy->totalLength/assoc->speed * assoc->blendAmount;