code_9E370.c progress
This commit is contained in:
@@ -30,7 +30,7 @@ void func_8038FF54(Actor *this){
|
||||
ParticleEmitter *sp3C;
|
||||
|
||||
if( func_8038BFA0() ) return;
|
||||
if( !actor_playerIsWithinDist(this, 4500) ) return;
|
||||
if( !subaddie_playerIsWithinSphere(this, 4500) ) return;
|
||||
|
||||
this->marker->propPtr->unk8_3 = FALSE;
|
||||
actor_collisionOff(this);
|
||||
|
@@ -577,7 +577,7 @@ void func_803896FC(Actor *this){
|
||||
case 11:// L80389F20
|
||||
func_803890DC(this, local->unk19);
|
||||
|
||||
if(!actor_playerIsWithinDist(this, 2000)
|
||||
if(!subaddie_playerIsWithinSphere(this, 2000)
|
||||
&& !this->marker->unk14_21
|
||||
){
|
||||
switch(local->unk19){
|
||||
|
@@ -195,7 +195,7 @@ void func_8038F7AC(Actor *this){
|
||||
}
|
||||
}//L8038F910
|
||||
|
||||
if(func_8038BFA0() || this->unk38_31 || !actor_playerIsWithinDist(this, 3000)){
|
||||
if(func_8038BFA0() || this->unk38_31 || !subaddie_playerIsWithinSphere(this, 3000)){
|
||||
actor_collisionOff(this);
|
||||
return;
|
||||
}
|
||||
|
@@ -127,7 +127,7 @@ void func_80391180(Actor *this){
|
||||
this->unk58_0 = func_8038DD14() ? 0 : 1;
|
||||
|
||||
if(this->marker->unk14_20 == 0x21F){
|
||||
this->marker->unk40_22 = actor_playerIsWithinDist(this, 2000) ? 1 : 0;
|
||||
this->marker->unk40_22 = subaddie_playerIsWithinSphere(this, 2000) ? 1 : 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user