1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-06-18 11:43:12 +00:00

fix name shadowing

This commit is contained in:
aap 2020-12-21 13:29:09 +01:00
parent f251803f55
commit adcfb30d7d

View file

@ -308,9 +308,9 @@ CAnimBlendNode::GetEndTranslationCompressed(CVector &trans, float weight)
if(blend > 0.0f){
KeyFrameTransCompressed *kf = (KeyFrameTransCompressed*)sequence->GetKeyFrameCompressed(sequence->numFrames-1);
if(sequence->type & CAnimBlendSequence::KF_TRANS){
CVector trans;
kf->GetTranslation(&trans);
trans = trans * blend;
CVector pos;
kf->GetTranslation(&pos);
trans = pos * blend;
}
}
}