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
|
@ -622,7 +622,7 @@ s32 EnTa_IsPlayerHoldingSuperCucco(EnTa* this, PlayState* play, s32 cuccoIdx) {
|
|||
Player* player = GET_PLAYER(play);
|
||||
Actor* interactRangeActor;
|
||||
|
||||
if (player->stateFlags1 & PLAYER_STATE1_ACTOR_CARRY) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_CARRYING_ACTOR) {
|
||||
interactRangeActor = player->interactRangeActor;
|
||||
if (interactRangeActor != NULL && interactRangeActor->id == ACTOR_EN_NIW &&
|
||||
interactRangeActor == &this->superCuccos[cuccoIdx]->actor) {
|
||||
|
@ -658,7 +658,7 @@ void EnTa_TalkFoundSuperCucco(EnTa* this, PlayState* play) {
|
|||
if (player->heldActor == &this->superCuccos[lastFoundSuperCuccoIdx]->actor) {
|
||||
player->heldActor = NULL;
|
||||
}
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_ACTOR_CARRY;
|
||||
player->stateFlags1 &= ~PLAYER_STATE1_CARRYING_ACTOR;
|
||||
this->superCuccos[lastFoundSuperCuccoIdx] = NULL;
|
||||
}
|
||||
this->stateFlags |= TALON_STATE_FLAG_TRACKING_PLAYER;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue