mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 20:25:41 +00:00
fix name shadowing
This commit is contained in:
parent
f251803f55
commit
adcfb30d7d
1 changed files with 3 additions and 3 deletions
|
@ -308,9 +308,9 @@ CAnimBlendNode::GetEndTranslationCompressed(CVector &trans, float weight)
|
||||||
if(blend > 0.0f){
|
if(blend > 0.0f){
|
||||||
KeyFrameTransCompressed *kf = (KeyFrameTransCompressed*)sequence->GetKeyFrameCompressed(sequence->numFrames-1);
|
KeyFrameTransCompressed *kf = (KeyFrameTransCompressed*)sequence->GetKeyFrameCompressed(sequence->numFrames-1);
|
||||||
if(sequence->type & CAnimBlendSequence::KF_TRANS){
|
if(sequence->type & CAnimBlendSequence::KF_TRANS){
|
||||||
CVector trans;
|
CVector pos;
|
||||||
kf->GetTranslation(&trans);
|
kf->GetTranslation(&pos);
|
||||||
trans = trans * blend;
|
trans = pos * blend;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue