diff options
| author | theo3 <arisstephenson2@gmail.com> | 2023-12-29 21:42:55 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2023-12-29 21:42:55 -0800 |
| commit | 37723f560798698a2a17d0b29ee7baca1a8cb1c7 (patch) | |
| tree | 65f802f7a9162b3ece97177b9aa7adc8c51d21f3 /src/playerUtils.c | |
| parent | c2f081600bca5c3f1f82d7bac8bc5827faf0d17a (diff) | |
document RoomVars struct
Diffstat (limited to 'src/playerUtils.c')
| -rw-r--r-- | src/playerUtils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/playerUtils.c b/src/playerUtils.c index 9ab584e5..412d7142 100644 --- a/src/playerUtils.c +++ b/src/playerUtils.c @@ -23,7 +23,7 @@ static void sub_08077E54(ItemBehavior* beh); extern void sub_0800857C(Entity*); -extern void SetEntityPriorityForKind(Entity*); +extern void InitDefaultPriority(Entity*); extern void sub_0809D738(Entity*); extern s32 Mod(s32, s32); extern u32 sub_08003FDE(Entity*, Entity*, u32, u32); @@ -1853,7 +1853,7 @@ void PlayerSetNormalAndCollide(void) { PL_MOLDWORM_RELEASED | PL_PARACHUTE); ResolvePlayerAnimation(); SetPlayerActionNormal(); - SetEntityPriorityForKind(&gPlayerEntity); + InitDefaultPriority(&gPlayerEntity); } void PlayerMinishSetNormalAndCollide(void) { @@ -1869,7 +1869,7 @@ void PlayerMinishSetNormalAndCollide(void) { ~(PL_BUSY | PL_DROWNING | PL_DISABLE_ITEMS | PL_IN_HOLE | PL_MOLDWORM_RELEASED | PL_PARACHUTE); gPlayerState.swim_state = 0; gPlayerState.queued_action = PLAYER_INIT; - SetEntityPriorityForKind(&gPlayerEntity); + InitDefaultPriority(&gPlayerEntity); } void sub_080792BC(s32 speed, u32 direction, u32 field_0x38) { |
