mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-14 07:51:20 +00:00
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) {
|
if (prior != -1 && next == -1) {
|
||||||
next = cur;
|
next = prior;
|
||||||
x78_t = (time - priorTime) / (curTime - priorTime);
|
x78_t = 1.f;
|
||||||
}
|
}
|
||||||
if (next != -1) {
|
if (next != -1) {
|
||||||
while (u32(next) > Next().x1c_curKey) {
|
while (u32(next) > Next().x1c_curKey) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user