diff options
| author | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2025-05-20 22:06:18 -0300 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2025-05-20 22:06:18 -0300 |
| commit | 1024abdd4afcde0d71866e1b6344436a257ce29b (patch) | |
| tree | 390a7f54470921892aadb909a883488449b7f7e5 /src/engine/objects/Boos.cpp | |
| parent | f4f06585c758f2e1ce584496eeec4c65f8461a92 (diff) | |
fix tags
Diffstat (limited to 'src/engine/objects/Boos.cpp')
| -rw-r--r-- | src/engine/objects/Boos.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/engine/objects/Boos.cpp b/src/engine/objects/Boos.cpp index 69bb95072..5f02d7876 100644 --- a/src/engine/objects/Boos.cpp +++ b/src/engine/objects/Boos.cpp @@ -83,20 +83,23 @@ void OBoos::Draw(s32 cameraId) { s32 objectIndex; for (size_t i = 0; i < _numBoos; i++) { - // @port: Tag the transform. - FrameInterpolation_RecordOpenChild("Boo", i); objectIndex = _indices[i]; //indexObjectList3[i]; if (gObjectList[objectIndex].state >= 2) { temp_s2 = func_8008A364(objectIndex, cameraId, 0x4000U, 0x00000320); if (CVarGetInteger("gNoCulling", 0) == 1) { temp_s2 = MIN(temp_s2, 0x15F91U); } + + // @port: Tag the transform. + FrameInterpolation_RecordOpenChild("Boo", (uintptr_t)&gObjectList[objectIndex]); + if (is_obj_flag_status_active(objectIndex, VISIBLE) != 0) { func_800523B8(objectIndex, cameraId, temp_s2); } + + // @port Pop the transform id. + FrameInterpolation_RecordCloseChild(); } - // @port Pop the transform id. - FrameInterpolation_RecordCloseChild(); } } |
