2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 13:11:22 +00:00

CFBStreamedPairOfTotals: Properly set x78_t at end

This commit is contained in:
Luke Street 2021-03-28 13:00:07 -04:00
parent ee590e670d
commit c467c608a7

View File

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