diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-11-28 00:34:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-27 21:34:18 -0800 |
| commit | 4fb3af91b8aff0b9042affa4d430aa3375199973 (patch) | |
| tree | 2b93dea8856e149b5145a2dcc9965df38081e5f7 /src/d/actor/d_a_obj_stairBlock.cpp | |
| parent | a089a1d21c641cab569facace79ec646132a6d34 (diff) | |
Various small matches (#2879)
* Misc debug matches
* Fix JASBasicWaveBank weak func order
* Remove more dol2asm stuff, fix missing includes
* Some data fixes
* Update comments
* d_file_sel_warning is already OK
* Fix Z2 splits
* Fix movebox namespace
* Fix inlining issue in m_Do_ext
* Fix Z2 splits for P and J
Diffstat (limited to 'src/d/actor/d_a_obj_stairBlock.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_stairBlock.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/d/actor/d_a_obj_stairBlock.cpp b/src/d/actor/d_a_obj_stairBlock.cpp index 07b938edf5..e3125be585 100644 --- a/src/d/actor/d_a_obj_stairBlock.cpp +++ b/src/d/actor/d_a_obj_stairBlock.cpp @@ -62,9 +62,8 @@ int daStairBlock_c::CreateHeap() { return 0; } - J3DAnmTransform* bck = (J3DAnmTransform*)dComIfG_getObjectRes("StaBlock", l_bckIdx[i]); - s32 res = mBckAnm[i].init(bck, 1, 0, 1.0f, 0, -1, false); - JUT_ASSERT_MSG(290, res == 1, "res == 1"); + s32 res = mBckAnm[i].init((J3DAnmTransform*)dComIfG_getObjectRes("StaBlock", l_bckIdx[i]), 1, 0, 1.0f, 0, -1, false); + JUT_ASSERT(290, res == 1); mBckAnm[i].setEndFrame(mBckAnm[i].getEndFrame() - 1.0f); } |
