mirror of https://github.com/AxioDL/metaforce.git
CFBStreamedPairOfTotals: Fix end keyframe logic
This commit is contained in:
parent
c3c88a434f
commit
286efb5609
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue