summaryrefslogtreecommitdiffstats
path: root/src/animation/AnimBlendNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation/AnimBlendNode.cpp')
-rw-r--r--src/animation/AnimBlendNode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/AnimBlendNode.cpp b/src/animation/AnimBlendNode.cpp
index 4ef7d1c0..c54b5718 100644
--- a/src/animation/AnimBlendNode.cpp
+++ b/src/animation/AnimBlendNode.cpp
@@ -109,7 +109,7 @@ CAnimBlendNode::FindKeyFrame(float t)
}
frameA = 0;
}
- frameB = frameA;
+ frameB = frameA++;
}
remainingTime = sequence->GetKeyFrame(frameA)->deltaTime - t;