summaryrefslogtreecommitdiff
path: root/src/code/z_actor.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-11-12 11:46:21 +1100
committerGitHub <noreply@github.com>2024-11-11 16:46:21 -0800
commit4663beda1a3e22788ea4e9218c40147022fd3936 (patch)
tree19a4fd815a35b82ac7ee25f8c63e86f9ca917fd4 /src/code/z_actor.c
parent4337c2a4f29034a576c5fbcef00f27e468df9579 (diff)
Document Room Type (#1740)
* roomType * cleanup
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 532aecd65..a7c9a497b 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -1423,7 +1423,7 @@ bool func_800B715C(PlayState* play) {
}
void Player_SetCameraHorseSetting(PlayState* play, Player* player) {
- if ((play->roomCtx.curRoom.behaviorType1 != ROOM_BEHAVIOR_TYPE1_4) && (player->actor.id == ACTOR_PLAYER)) {
+ if ((play->roomCtx.curRoom.type != ROOM_TYPE_4) && (player->actor.id == ACTOR_PLAYER)) {
EnHorse* rideActor = (EnHorse*)player->rideActor;
if ((rideActor != NULL) && !(rideActor->unk_1EC & 0x10)) {