summaryrefslogtreecommitdiff
path: root/src/code/z_actor.c
diff options
context:
space:
mode:
authormzxrules <mzxrules@gmail.com>2024-10-14 15:23:50 -0400
committerGitHub <noreply@github.com>2024-10-14 15:23:50 -0400
commit2f54db142e5a4fbb29607508fe6e7d9f813c8974 (patch)
tree601f3d40a607a334ac4e4ed2555f9c572ef89553 /src/code/z_actor.c
parentd0b47258693aa2a9c0bf885ca93bf21841bdbab9 (diff)
Rename RoomBehaviorType1 to RoomType (#2271)
* Rename RoomBehaviorType1 to RoomType * suggestions * Update include/z64scene.h --------- Co-authored-by: fig02 <fig02srl@gmail.com>
Diffstat (limited to 'src/code/z_actor.c')
-rw-r--r--src/code/z_actor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index 49ee50fbe..49ee7e943 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -1131,7 +1131,7 @@ void func_8002DE04(PlayState* play, Actor* actorA, Actor* actorB) {
}
void func_8002DE74(PlayState* play, Player* player) {
- if ((play->roomCtx.curRoom.behaviorType1 != ROOM_BEHAVIOR_TYPE1_4) && Play_CamIsNotFixed(play)) {
+ if ((play->roomCtx.curRoom.type != ROOM_TYPE_4) && Play_CamIsNotFixed(play)) {
Camera_RequestSetting(Play_GetCamera(play, CAM_ID_MAIN), CAM_SET_HORSE);
}
}