Fix landmaster interpolation (maybe other forms?)

This commit is contained in:
Garrett Cox 2024-11-24 23:39:01 -06:00 committed by Alejandro Asenjo Nitti
parent e34419b38e
commit 7d60b7e65d

View File

@ -320,9 +320,6 @@ void Display_Landmaster(Player* player) {
Matrix_Push(&gGfxMatrix);
// @port: Tag the transform.
FrameInterpolation_RecordOpenChild("Display_Landmaster", player->num);
if (!gVersusMode) {
gSPDisplayList(gMasterDisp++, aLandmasterModelDL);
} else {
@ -360,9 +357,6 @@ void Display_Landmaster(Player* player) {
Matrix_MultVec3f(gGfxMatrix, &sp4C, &D_display_80161548[player->num]);
Matrix_Pop(&gGfxMatrix);
// @port Pop the transform id.
FrameInterpolation_RecordCloseChild();
}
Gfx* sFaceDL[] = { aAwFoxHeadDL, aAwFalcoHeadDL, aAwSlippyHeadDL, aAwPeppyHeadDL };
@ -1885,7 +1879,9 @@ void Display_Update(void) {
playerPos.y = player->pos.y;
playerPos.z = player->trueZpos;
Display_SetSecondLight(&playerPos);
FrameInterpolation_RecordOpenChild(player, i);
Display_Player_Update(player, 0);
FrameInterpolation_RecordCloseChild();
Display_SetupPlayerSfxPos(player);
}
@ -1898,7 +1894,9 @@ void Display_Update(void) {
playerPos.x = player->pos.x;
playerPos.y = player->pos.y;
playerPos.z = player->trueZpos;
FrameInterpolation_RecordOpenChild(player, i);
Display_Player_Update(player, 1);
FrameInterpolation_RecordCloseChild();
}
Matrix_Pop(&gGfxMatrix);
}