mirror of
https://github.com/halpz/re3.git
synced 2025-06-29 11:46:35 +00:00
fix name shadowing
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user