summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_dr.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-01-31 15:49:44 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-01-31 15:49:44 -0500
commita52bb789da04827e7a2723dbb2659d9056582630 (patch)
treede3882cded3d3e33b18ce820f3b72b73e42d1263 /src/d/actor/d_a_dr.cpp
parent2ece7c9ce15f499f73e4218b4bd3ce1d5cffb531 (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_dr.cpp')
-rw-r--r--src/d/actor/d_a_dr.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d/actor/d_a_dr.cpp b/src/d/actor/d_a_dr.cpp
index c3983afe..cac98dfe 100644
--- a/src/d/actor/d_a_dr.cpp
+++ b/src/d/actor/d_a_dr.cpp
@@ -17,7 +17,7 @@ static daDr_HIO_c l_HIO;
/* 000000EC-00000148 .text __ct__10daDr_HIO_cFv */
daDr_HIO_c::daDr_HIO_c() {
- mChildID = -1;
+ mNo = -1;
mScale = 1.0f;
m0C = false;
m0E = 10*30;
@@ -205,8 +205,8 @@ static BOOL daDr_IsDelete(dr_class* i_this) {
/* 00000A94-00000AE8 .text daDr_Delete__FP8dr_class */
static BOOL daDr_Delete(dr_class* i_this) {
dComIfG_resDelete(&i_this->mPhs, "Dr");
- if (l_HIO.mChildID >= 0) {
- mDoHIO_deleteChild(l_HIO.mChildID);
+ if (l_HIO.mNo >= 0) {
+ mDoHIO_deleteChild(l_HIO.mNo);
}
return TRUE;
}
@@ -245,8 +245,8 @@ static s32 daDr_Create(fopAc_ac_c* i_actor) {
daDr_setMtx(i_this);
- if (l_HIO.mChildID < 0) {
- l_HIO.mChildID = mDoHIO_createChild("ドラゴン", &l_HIO); // "Dragon"
+ if (l_HIO.mNo < 0) {
+ l_HIO.mNo = mDoHIO_createChild("ドラゴン", &l_HIO); // "Dragon"
}
}