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

@@ -45,11 +45,11 @@ void func_80388BE8(Actor *actor){
void func_80388C20(Actor *this){
ActorLocal_RBB_27E0 *local = (ActorLocal_RBB_27E0 *)&this->local;
f32 sp28 = time_getDelta();
if(!this->unk16C_4){
if(!this->volatile_initialized){
actor_collisionOff(this);
this->marker->propPtr->unk8_3 = 1;
this->marker->actorFreeFunc = func_80388BE8;
this->unk16C_4 = 1;
this->volatile_initialized = TRUE;
if(this->modelCacheIndex == 0x17B){
local->sfxsource_index = func_8030D90C();
sfxsource_set_fade_distances(local->sfxsource_index, 1000.0f, 2000.0f);