mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed animation delta over time
This commit is contained in:
parent
0ef743d945
commit
796a3a711f
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ SkelVec3 skelAnimDataGameHeader_s::GetDeltaOverTime(float time1, float time2)
|
|||
|
||||
if (frameNum1 < frameNum2) {
|
||||
delta = m_frame[frameNum1 % numFrames].delta;
|
||||
VectorScale(delta, d, delta);
|
||||
|
||||
for (currFrame = frameNum1 + 1; currFrame < frameNum2; currFrame++) {
|
||||
delta += m_frame[currFrame % numFrames].delta;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue