summaryrefslogtreecommitdiff
path: root/src/code/z_parameter.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2024-07-13 11:15:12 -0700
committerGitHub <noreply@github.com>2024-07-13 14:15:12 -0400
commit803ff1fb1593cdc0c62d14882973af04dc0f988e (patch)
tree4cdaed8886c36b6c2fb081d5968019c9d11d42c8 /src/code/z_parameter.c
parent1a003f946034b392050c1aeccb777b3a2a0ed633 (diff)
Another General Cleanup (#1651)
* add z64player.h include to z_player.c * NULL check in func_80AEE374 * Couple formating things * parameter R_PICTO_PHOTO_STATE * Remove COLPOLY_NORMAL_FRAC * DynaPolyActor_Init transformFlags * Float in ObjDriftice_Init * aspMainStack * Add gbi defines to m2ctx * Add GBI_DEFINES to COMMON_DEFINES in makefile instead of duplicating it * Add version to build include for m2ctx * Invadepoh includes * Sort calc_bss includes like makefile
Diffstat (limited to 'src/code/z_parameter.c')
-rw-r--r--src/code/z_parameter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c
index 6002bc5c4..674e7e2e0 100644
--- a/src/code/z_parameter.c
+++ b/src/code/z_parameter.c
@@ -2368,7 +2368,7 @@ void Interface_UpdateButtonsPart1(PlayState* play) {
if (!CHECK_EVENTINF(EVENTINF_41) ||
(CHECK_EVENTINF(EVENTINF_41) && (CutsceneManager_GetCurrentCsId() == CS_ID_NONE))) {
Audio_PlaySfx(NA_SE_SY_CAMERA_SHUTTER);
- SREG(89) = 1;
+ R_PICTO_PHOTO_STATE = PICTO_PHOTO_STATE_SETUP;
play->haltAllActors = true;
sPictoState = PICTO_BOX_STATE_SETUP_PHOTO;
sPictoPhotoBeingTaken = true;