mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 19:44:15 +01:00
fix name shadowing
This commit is contained in:
parent
f251803f55
commit
adcfb30d7d
@ -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 New Issue
Block a user