mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-14 20:05:02 +00:00
Name PLAYER_STATE1_ACTOR_CARRY
(#2173)
* actor carry flag * format and add comments * comment changes
This commit is contained in:
parent
c7ec814d78
commit
900c2f0f68
11 changed files with 67 additions and 65 deletions
|
@ -6607,7 +6607,7 @@ s32 Camera_Demo5(Camera* camera) {
|
|||
sp4A = playerhead.rot.y - playerTargetGeo.yaw;
|
||||
if (camera->target->category == ACTORCAT_PLAYER) {
|
||||
framesDiff = camera->play->state.frames - sDemo5PrevAction12Frame;
|
||||
if (player->stateFlags1 & PLAYER_STATE1_11) {
|
||||
if (player->stateFlags1 & PLAYER_STATE1_ACTOR_CARRY) {
|
||||
// holding object over head.
|
||||
Player_SetCsActionWithHaltedActors(camera->play, camera->target, PLAYER_CSACTION_8);
|
||||
} else if (ABS(framesDiff) > 3000) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue