summaryrefslogtreecommitdiff
path: root/src/code/z_en_a_keep.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2020-10-29 17:31:09 -0400
committerGitHub <noreply@github.com>2020-10-29 17:31:09 -0400
commit3c5fe66dcd45cd5cb100c02196021d8d13341991 (patch)
tree8de26c4588a0d2e41661fb381a1d1796d6b9bd49 /src/code/z_en_a_keep.c
parent92bb1fb21006189ced43ab28753a12adc9aa21fc (diff)
Use macros for oGfxCtx accesses (#465)
* fix colliderinit typo * fix initchain * reloc * add defines * add defines * missed some on merge * rename gfxCtx and add comment * remove space
Diffstat (limited to 'src/code/z_en_a_keep.c')
-rw-r--r--src/code/z_en_a_keep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/z_en_a_keep.c b/src/code/z_en_a_keep.c
index 34ca02864..c23701d19 100644
--- a/src/code/z_en_a_keep.c
+++ b/src/code/z_en_a_keep.c
@@ -329,12 +329,12 @@ void EnAObj_Draw(Actor* thisx, GlobalContext* globalCtx) {
}
if (thisx->params == A_OBJ_KNOB) {
- gDPSetPrimColor(oGfxCtx->polyOpa.p++, 0, 1, 60, 60, 60, 50);
+ gDPSetPrimColor(POLY_OPA_DISP++, 0, 1, 60, 60, 60, 50);
}
- gSPMatrix(oGfxCtx->polyOpa.p++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_en_a_keep.c", 712),
+ gSPMatrix(POLY_OPA_DISP++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_en_a_keep.c", 712),
G_MTX_MODELVIEW | G_MTX_LOAD);
- gSPDisplayList(oGfxCtx->polyOpa.p++, D_80115484[type]);
+ gSPDisplayList(POLY_OPA_DISP++, D_80115484[type]);
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_a_keep.c", 715);
}