Fix mDoHIO inlines

This commit is contained in:
LagoLunatic
2025-01-08 15:49:00 -05:00
parent f74fd75332
commit 417ef8cacb
15 changed files with 43 additions and 36 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ s32 daObjQuake_c::_create() {
}
if (l_HIO.mChildID < 0) {
l_HIO.mChildID = mDoHIO_root.mDoHIO_createChild("振動効果", &l_HIO); // "Vibration Effect"
l_HIO.mChildID = mDoHIO_createChild("振動効果", &l_HIO); // "Vibration Effect"
}
l_HIO.field_0x08 += 1;
@@ -82,7 +82,7 @@ BOOL daObjQuake_c::_is_delete() {
if (l_HIO.mChildID >= 0) {
l_HIO.field_0x08 -= 1;
if (l_HIO.field_0x08 == 0) {
mDoHIO_root.mDoHIO_deleteChild(l_HIO.mChildID);
mDoHIO_deleteChild(l_HIO.mChildID);
l_HIO.mChildID = -1;
}
}