mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-03 14:11:10 +00:00
revert crash fix (#331)
revert crash fix, causing more serious issues in star road
This commit is contained in:
parent
e7c52e8adb
commit
32e39516d6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue