diff options
| author | fig02 <fig02srl@gmail.com> | 2024-09-09 21:58:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 21:58:22 -0400 |
| commit | 6e0288d155f5319366968a870f0c766ca97e022b (patch) | |
| tree | e3952bc959d3ed788208d04949381144b518ebf5 /src/code | |
| parent | 6fcaa51832e8abe62485fb2a78f709846ce5bb6b (diff) | |
Boomerang related state flags (#2180)
* boomerang state flags
* finish comment
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/z_player_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code/z_player_lib.c b/src/code/z_player_lib.c index b75a8a758..e33b9ad59 100644 --- a/src/code/z_player_lib.c +++ b/src/code/z_player_lib.c @@ -1199,7 +1199,8 @@ s32 Player_OverrideLimbDrawGameplayDefault(PlayState* play, s32 limbIndex, Gfx** if ((sLeftHandType == PLAYER_MODELTYPE_LH_BGS) && (gSaveContext.save.info.playerData.swordHealth <= 0.0f)) { dLists += 4; - } else if ((sLeftHandType == PLAYER_MODELTYPE_LH_BOOMERANG) && (this->stateFlags1 & PLAYER_STATE1_25)) { + } else if ((sLeftHandType == PLAYER_MODELTYPE_LH_BOOMERANG) && + (this->stateFlags1 & PLAYER_STATE1_BOOMERANG_THROWN)) { dLists = gPlayerLeftHandOpenDLs + gSaveContext.save.linkAge; sLeftHandType = PLAYER_MODELTYPE_LH_OPEN; } else if ((this->leftHandType == PLAYER_MODELTYPE_LH_OPEN) && (this->actor.speed > 2.0f) && |
