Use boolean values for isRetracting

This commit is contained in:
JordanLongstaff 2025-12-06 21:46:11 -05:00
parent 4133fd90ea
commit 6a21225be3
2 changed files with 3 additions and 3 deletions

View File

@ -767,7 +767,7 @@ void EnKendoJs_RetractLogs(EnKendoJs* this, PlayState* play) {
while (actor != NULL) {
if (actor->id == ACTOR_EN_MARUTA) {
((EnMaruta*)actor)->isRetracting = 1;
((EnMaruta*)actor)->isRetracting = true;
}
actor = actor->next;
}

View File

@ -236,7 +236,7 @@ void EnMaruta_Init(Actor* thisx, PlayState* play) {
}
this->unk_214 = -1;
this->isRetracting = 0;
this->isRetracting = false;
if (this->unk_210 == 0) {
Collider_InitCylinder(play, &this->collider);
@ -276,7 +276,7 @@ void func_80B372CC(EnMaruta* this, PlayState* play) {
this->actor.shape.rot.y -= 0x2AAA;
}
if (this->isRetracting == 1) {
if (this->isRetracting == true) {
EnMaruta_StartRetracting(this);
}