mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +00:00
Name actor flags 1: ACTOR_FLAG_REACT_TO_LENS
, ACTOR_FLAG_IGNORE_POINT_LIGHTS
(#1583)
* 7 -> `ACTOR_FLAG_REACT_TO_LENS` * move comment above actor flag * 22 -> `ACTOR_FLAG_IGNORE_POINT_LIGHTS` * newlines between flags --------- Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
parent
324db1d578
commit
4982f32384
22 changed files with 109 additions and 53 deletions
|
@ -191,7 +191,7 @@ void EnDh_SetupWait(EnDh* this) {
|
|||
this->actor.shape.yOffset = -15000.0f;
|
||||
this->dirtWaveSpread = this->actor.speed = 0.0f;
|
||||
this->actor.world.rot.y = this->actor.shape.rot.y;
|
||||
this->actor.flags |= ACTOR_FLAG_7;
|
||||
this->actor.flags |= ACTOR_FLAG_REACT_TO_LENS;
|
||||
this->dirtWavePhase = this->actionState = this->actor.params = ENDH_WAIT_UNDERGROUND;
|
||||
EnDh_SetupAction(this, EnDh_Wait);
|
||||
}
|
||||
|
@ -208,7 +208,7 @@ void EnDh_Wait(EnDh* this, PlayState* play) {
|
|||
case 0:
|
||||
this->actor.flags |= ACTOR_FLAG_0;
|
||||
this->actor.shape.rot.y = this->actor.yawTowardsPlayer;
|
||||
this->actor.flags &= ~ACTOR_FLAG_7;
|
||||
this->actor.flags &= ~ACTOR_FLAG_REACT_TO_LENS;
|
||||
this->actionState++;
|
||||
this->drawDirtWave++;
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EN_DEADHAND_HIDE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue