renamed Actor.unk16C_4 to Actor.volatile_initialized

This commit is contained in:
mariob92
2024-09-10 11:20:14 +02:00
parent b77274c9ea
commit 062344a1fb
192 changed files with 430 additions and 430 deletions

View File

@@ -94,10 +94,10 @@ void chPropellorSwitch_free(Actor *actor){
void chPropellorSwitch_update(Actor *this){
ActorLocal_RBB_3CB0 *local = (ActorLocal_RBB_3CB0 *)&this->local;
if(!this->unk16C_4){
if(!this->volatile_initialized){
this->marker->propPtr->unk8_3 = 1;
this->marker->actorFreeFunc = chPropellorSwitch_free;
this->unk16C_4 = 1;
this->volatile_initialized = TRUE;
local->unk0 = &D_80390720[((this->unk78_13 == 2) ? 0:1)];
if(local->unk0->unk6 == 0)
local->unk4 = NULL;