mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 17:24:08 +00:00
CWanted, anim fix, ped objs renaming, remove III beta features
This commit is contained in:
parent
d6a853bd60
commit
f3ed6659c3
29 changed files with 358 additions and 394 deletions
|
@ -97,12 +97,9 @@ CAnimBlendNode::FindKeyFrame(float t)
|
|||
if(sequence->numFrames == 1){
|
||||
remainingTime = 0.0f;
|
||||
}else{
|
||||
frameA++;
|
||||
|
||||
// advance until t is between frameB and frameA
|
||||
while(t > sequence->GetKeyFrame(frameA)->deltaTime){
|
||||
while(t > sequence->GetKeyFrame(++frameA)->deltaTime){
|
||||
t -= sequence->GetKeyFrame(frameA)->deltaTime;
|
||||
frameA++;
|
||||
if(frameA + 1 >= sequence->numFrames){
|
||||
// reached end of animation
|
||||
if(!association->IsRepeating()){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue