diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-01-31 15:49:44 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-01-31 15:49:44 -0500 |
| commit | a52bb789da04827e7a2723dbb2659d9056582630 (patch) | |
| tree | de3882cded3d3e33b18ce820f3b72b73e42d1263 /src/d/actor/d_a_sail.cpp | |
| parent | 2ece7c9ce15f499f73e4218b4bd3ce1d5cffb531 (diff) | |
Rename HostIO mChildID to mNo
TP debug has an assert in d_a_obj showing the name of this variable is `M_no` there.
Diffstat (limited to 'src/d/actor/d_a_sail.cpp')
| -rw-r--r-- | src/d/actor/d_a_sail.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d/actor/d_a_sail.cpp b/src/d/actor/d_a_sail.cpp index 640eb51c..97e7ddf1 100644 --- a/src/d/actor/d_a_sail.cpp +++ b/src/d/actor/d_a_sail.cpp @@ -738,9 +738,9 @@ static BOOL daSail_Delete(sail_class* i_this) { dComIfG_resDelete(&i_this->mClothPhase, "Cloth"); dComIfG_resDelete(&i_this->mKaizokusenPhase, "Kaizokusen"); - if (l_HIO.mChildID >= 0) { - mDoHIO_root.m_subroot.deleteChild(l_HIO.mChildID); - l_HIO.mChildID = -1; + if (l_HIO.mNo >= 0) { + mDoHIO_root.m_subroot.deleteChild(l_HIO.mNo); + l_HIO.mNo = -1; } return TRUE; @@ -779,8 +779,8 @@ static s32 daSail_Create(fopAc_ac_c* i_actor) { int phase_state = cPhs_COMPLEATE_e; if (fopAcM_entrySolidHeap(i_this, daSail_checkCreateHeap, 0x4C0)) { - if (l_HIO.mChildID < 0) { - l_HIO.mChildID = mDoHIO_root.m_subroot.createChild("海賊船の帆", &l_HIO); // "Pirate Ship's Sail" + if (l_HIO.mNo < 0) { + l_HIO.mNo = mDoHIO_root.m_subroot.createChild("海賊船の帆", &l_HIO); // "Pirate Ship's Sail" } i_this->mSailPacket.m1C44 = 0.0f; |
