diff options
Diffstat (limited to 'src/engine/objects/TrashBin.cpp')
| -rw-r--r-- | src/engine/objects/TrashBin.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/engine/objects/TrashBin.cpp b/src/engine/objects/TrashBin.cpp index b483a7549..75c5390fa 100644 --- a/src/engine/objects/TrashBin.cpp +++ b/src/engine/objects/TrashBin.cpp @@ -64,8 +64,7 @@ void OTrashBin::Draw(s32 cameraId) { Vec3f Pos = { _pos.x + 63, _pos.y + 12, _pos.z + 25 }; Vec3s Rot = { 0, 0x4000, 0 }; - // @port: Tag the transform. - FrameInterpolation_RecordOpenChild("OTrashBin", (uintptr_t) object); + FrameInterpolation_RecordOpenChild("OTrashBin", (_objectIndex << 4) | cameraId); mtxf_pos_rotation_xyz(mtx, Pos, Rot); //mtxf_scale(mtx, 1.0f); @@ -73,7 +72,6 @@ void OTrashBin::Draw(s32 cameraId) { gSPDisplayList(gDisplayListHead++, BinMod); } - // @port Pop the transform id. FrameInterpolation_RecordCloseChild(); } } |
