From b28f8e090ab756d27cbd93dba006adf43a66fbbf Mon Sep 17 00:00:00 2001 From: engineer124 <47598039+engineer124@users.noreply.github.com> Date: Tue, 12 Nov 2024 11:46:21 +1100 Subject: Document Room Type (#1740) * roomType * cleanup --- mm/src/code/z_parameter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mm/src/code/z_parameter.c') diff --git a/mm/src/code/z_parameter.c b/mm/src/code/z_parameter.c index c841389f8..cc52db12a 100644 --- a/mm/src/code/z_parameter.c +++ b/mm/src/code/z_parameter.c @@ -2884,7 +2884,7 @@ void Interface_UpdateHudAlphas(PlayState* play, s16 dimmingAlpha) { break; } - if ((play->roomCtx.curRoom.behaviorType1 == ROOM_BEHAVIOR_TYPE1_1) && (interfaceCtx->minimapAlpha >= 255)) { + if ((play->roomCtx.curRoom.type == ROOM_TYPE_DUNGEON) && (interfaceCtx->minimapAlpha >= 255)) { interfaceCtx->minimapAlpha = 255; } } -- cgit v1.2.3