mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 07:21:19 +00:00
PLAYER_STATE1_ACTOR_CARRY -> PLAYER_STATE1_CARRYING_ACTOR (#2213)
This commit is contained in:
parent
05b908d0eb
commit
fcd5745d40
11 changed files with 60 additions and 59 deletions
|
@ -163,7 +163,7 @@ void EnBombf_GrowBomb(EnBombf* this, PlayState* play) {
|
|||
player->heldActor = NULL;
|
||||
player->interactRangeActor = NULL;
|
||||
this->actor.parent = NULL;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_ACTOR_CARRY;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_CARRYING_ACTOR;
|
||||
}
|
||||
} else if (this->bombCollider.base.acFlags & AC_HIT) {
|
||||
this->bombCollider.base.acFlags &= ~AC_HIT;
|
||||
|
@ -197,7 +197,7 @@ void EnBombf_GrowBomb(EnBombf* this, PlayState* play) {
|
|||
player->heldActor = NULL;
|
||||
player->interactRangeActor = NULL;
|
||||
this->actor.parent = NULL;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_ACTOR_CARRY;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_CARRYING_ACTOR;
|
||||
this->actor.world.pos = this->actor.home.pos;
|
||||
}
|
||||
}
|
||||
|
@ -215,7 +215,7 @@ void EnBombf_GrowBomb(EnBombf* this, PlayState* play) {
|
|||
player->heldActor = NULL;
|
||||
player->interactRangeActor = NULL;
|
||||
this->actor.parent = NULL;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_ACTOR_CARRY;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_CARRYING_ACTOR;
|
||||
this->actor.world.pos = this->actor.home.pos;
|
||||
}
|
||||
}
|
||||
|
@ -299,11 +299,11 @@ void EnBombf_Explode(EnBombf* this, PlayState* play) {
|
|||
if (this->timer == 0) {
|
||||
player = GET_PLAYER(play);
|
||||
|
||||
if ((player->stateFlags1 & PLAYER_STATE1_ACTOR_CARRY) && (player->heldActor == &this->actor)) {
|
||||
if ((player->stateFlags1 & PLAYER_STATE1_CARRYING_ACTOR) && (player->heldActor == &this->actor)) {
|
||||
player->actor.child = NULL;
|
||||
player->heldActor = NULL;
|
||||
player->interactRangeActor = NULL;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_ACTOR_CARRY;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_CARRYING_ACTOR;
|
||||
}
|
||||
|
||||
Actor_Kill(&this->actor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue