diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2024-09-27 22:12:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-27 22:12:20 -0700 |
| commit | d0cb5d9be4ba15c4426e8f08cdd59777f99a9bc4 (patch) | |
| tree | 7e5b7c4f2cd00dd54b7fcd577ed599f5d0ef762a /src/code/z_player_lib.c | |
| parent | b4d6c3921f4ce8d5847dda195881516a80c453a3 (diff) | |
InitVars -> Profile (#1697)
* ActorProfile
* EffectSsProfile
* TransitionProfile
* variables.txt
Diffstat (limited to 'src/code/z_player_lib.c')
| -rw-r--r-- | src/code/z_player_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_player_lib.c b/src/code/z_player_lib.c index 445d50165..f7f63c09a 100644 --- a/src/code/z_player_lib.c +++ b/src/code/z_player_lib.c @@ -393,11 +393,11 @@ void func_8012301C(Actor* thisx, PlayState* play2) { if (this->av1.actionVar1 == 2) { s16 objectId = gPlayerFormObjectIds[GET_PLAYER_FORM]; - gActorOverlayTable[ACTOR_PLAYER].initInfo->objectId = objectId; + gActorOverlayTable[ACTOR_PLAYER].profile->objectId = objectId; func_8012F73C(&play->objectCtx, this->actor.objectSlot, objectId); this->actor.objectSlot = Object_GetSlot(&play->objectCtx, GAMEPLAY_KEEP); } else if (this->av1.actionVar1 >= 3) { - s32 objectSlot = Object_GetSlot(&play->objectCtx, gActorOverlayTable[ACTOR_PLAYER].initInfo->objectId); + s32 objectSlot = Object_GetSlot(&play->objectCtx, gActorOverlayTable[ACTOR_PLAYER].profile->objectId); if (Object_IsLoaded(&play->objectCtx, objectSlot)) { this->actor.objectSlot = objectSlot; |
