CFBStreamedPairOfTotals: Fix end keyframe logic

This commit is contained in:
Luke Street 2021-04-02 10:50:20 -04:00
parent c3c88a434f
commit 286efb5609
1 changed files with 2 additions and 2 deletions

View File

@ -219,8 +219,8 @@ void CFBStreamedPairOfTotals::SetTime(CBitLevelLoader& loader, const CCharAnimTi
}
if (prior != -1 && next == -1) {
next = cur;
x78_t = (time - priorTime) / (curTime - priorTime);
next = prior;
x78_t = 1.f;
}
if (next != -1) {
while (u32(next) > Next().x1c_curKey) {