summaryrefslogtreecommitdiff
path: root/src/code/z_rcp.c
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2022-05-21 14:54:51 +0200
committerGitHub <noreply@github.com>2022-05-21 08:54:51 -0400
commit154f44b6da6e0b9be69886ec8d8a5a8ea2f4791e (patch)
treefb8ae120c3ebb82d1b007398ee1ac6305952a3b2 /src/code/z_rcp.c
parent4f0018bf368fb1304e3c758745296d28c4e58c9c (diff)
Documentation pass on scene/room commands (#1226)
* Rename handler functions * Rename cmd_id enum names for consistency * `char` -> `s8` for explicit padding in cmd structs * `Room.unk03/03` -> `behaviorType2/1` * `UNK_PTR` -> `void*` * `showInvisActors` -> `lensActorsMode` + enum * Add `ROOM_BEHAVIOR_TYPE1/2_` enums * "mesh" -> "mesh header" * `Polygon polygon` -> `PolygonBase base` (for now...) * Misc cleanup * "lens actors mode" -> "lens actor mode" * Revert "`char` -> `s8` for explicit padding in cmd structs" This reverts commit 59b9295828d0fa341b0f05fbe9d660adb04476aa. * `LENS_ACTOR_MODE_` -> `LENS_MODE_HIDE/SHOW_ACTORS`
Diffstat (limited to 'src/code/z_rcp.c')
-rw-r--r--src/code/z_rcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_rcp.c b/src/code/z_rcp.c
index cd368aeac..395f5434b 100644
--- a/src/code/z_rcp.c
+++ b/src/code/z_rcp.c
@@ -1012,7 +1012,7 @@ void func_80093C80(GlobalContext* globalCtx) {
func_80093D18(gfxCtx);
- if (globalCtx->roomCtx.curRoom.unk_03 == 3) {
+ if (globalCtx->roomCtx.curRoom.behaviorType1 == ROOM_BEHAVIOR_TYPE1_3) {
OPEN_DISPS(gfxCtx, "../z_rcp.c", 1460);
gDPSetColorDither(POLY_OPA_DISP++, G_CD_DISABLE);