renamed Actor.unk16C_4 to Actor.volatile_initialized
This commit is contained in:
@@ -138,11 +138,11 @@ void func_803878CC(Actor * this){
|
||||
if(!mapSpecificFlags_get(1) && !func_80329530(this, 2500))
|
||||
return;
|
||||
|
||||
if(!this->unk16C_4){
|
||||
if(!this->volatile_initialized){
|
||||
if(this->state == 3){
|
||||
subaddie_set_state_with_direction(this, 2, 0.0f, 1);
|
||||
}
|
||||
this->unk16C_4 = TRUE;
|
||||
this->volatile_initialized = TRUE;
|
||||
}//L80387970
|
||||
|
||||
if(func_80329530(this, 250) && !func_80329530(this, 80)
|
||||
|
@@ -271,8 +271,8 @@ void chClam_update(Actor *this){
|
||||
animctrl_setDuration(this->animctrl, 2.0f);
|
||||
}
|
||||
|
||||
if(!this->unk16C_4){
|
||||
this->unk16C_4 = TRUE;
|
||||
if(!this->volatile_initialized){
|
||||
this->volatile_initialized = TRUE;
|
||||
marker_setCollisionScripts(this->marker, NULL, __chClam_attackOther, __chClam_takeDamage);
|
||||
}
|
||||
|
||||
|
@@ -36,8 +36,8 @@ void chLeaky_update(Actor *this) {
|
||||
void *temp_v0_2;
|
||||
|
||||
func_8028E668(this->position, 100.0f, -20.0f, 100.0f);
|
||||
if (!this->unk16C_4) {
|
||||
this->unk16C_4 = TRUE;
|
||||
if (!this->volatile_initialized) {
|
||||
this->volatile_initialized = TRUE;
|
||||
this->marker->propPtr->unk8_3 = FALSE;
|
||||
if (levelSpecificFlags_get(5) != 0) {
|
||||
levelSpecificFlags_set(5, FALSE);
|
||||
|
@@ -86,8 +86,8 @@ void func_80389600(Actor *this){
|
||||
this->unk138_24 = 1;
|
||||
}//L803896AC
|
||||
|
||||
if(!this->unk16C_4){
|
||||
this->unk16C_4 = TRUE;
|
||||
if(!this->volatile_initialized){
|
||||
this->volatile_initialized = TRUE;
|
||||
}
|
||||
|
||||
switch(this->state){
|
||||
|
@@ -194,8 +194,8 @@ void func_80388434(Actor *this){
|
||||
|
||||
player_getPosition(sp38);
|
||||
sp44 = func_80309D58(sp38, 1);
|
||||
if(!this->unk16C_4){
|
||||
this->unk16C_4 = TRUE;
|
||||
if(!this->volatile_initialized){
|
||||
this->volatile_initialized = TRUE;
|
||||
this->velocity_x = sp44;
|
||||
func_8032BC18(this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user