From 6253241e4a970f99367d3fd72bd11d257da919a0 Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Tue, 28 Mar 2023 08:49:29 +1000 Subject: [PATCH] revert crash fix (#331) revert crash fix, causing more serious issues in star road --- src/game/rendering_graph_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/rendering_graph_node.c b/src/game/rendering_graph_node.c index be9289dd..207e0f23 100644 --- a/src/game/rendering_graph_node.c +++ b/src/game/rendering_graph_node.c @@ -284,7 +284,7 @@ void patch_mtx_interpolated(f32 delta) { // calculate outside of for loop to reduce overhead // technically this is improper use of mtxf functions, but coop doesn't target N64 bool translateCamSpace = (gMtxTblSize > 0) && sCameraNode && (sCameraNode->matrixPtr != NULL) && (sCameraNode->matrixPtrPrev != NULL); - if (translateCamSpace && gCurrCourseNum != COURSE_CAKE_END) { + if (translateCamSpace) { mtxf_inverse(camTranfInv.m, *sCameraNode->matrixPtr); mtxf_inverse(prevCamTranfInv.m, *sCameraNode->matrixPtrPrev); }