summaryrefslogtreecommitdiff
path: root/src/code/z_game_over.c
diff options
context:
space:
mode:
authorLeonid Kapitonov <Feacur@gmail.com>2024-11-15 09:37:10 +0100
committerGitHub <noreply@github.com>2024-11-15 03:37:10 -0500
commite46fcbdbc95a2b1a87f1a79f7d40be19fc2013ee (patch)
treec38a8a63cb59e68aa5653b9b19633fa93a3e3ee4 /src/code/z_game_over.c
parentc55a1dab5727784a4a7510cdb6602d539134a7f1 (diff)
Document `enum PauseState` game over parts (#2283)
* [document] `enum PauseState`, game over parts * apply Jenkins fixes (automatic code formatting) also, as previously, i've rerun the "make" to check integrity * add `PAUSE_STATE_GAME_OVER_*` comments in case it helps to rename them later, if the need ever arises * improve `PAUSE_STATE_GAME_OVER_SAVE_*` comments also i've noticed, that `z64pause.h` doesn't comply fully with the `.clang-format` temporary changing a couple of setting to - ColumnLimit: 0 - AlignTrailingComments: false fixes the issue. i don't want to push unrelated formatting here * remove redundant comments https://github.com/zeldaret/oot/pull/2283#discussion_r1827652667 * apply PR naming suggestions reverified with > `check_format.py ...` > `make ...`
Diffstat (limited to 'src/code/z_game_over.c')
-rw-r--r--src/code/z_game_over.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_game_over.c b/src/code/z_game_over.c
index e6335307d..f0390a961 100644
--- a/src/code/z_game_over.c
+++ b/src/code/z_game_over.c
@@ -102,7 +102,7 @@ void GameOver_Update(PlayState* play) {
sGameOverTimer--;
if (sGameOverTimer == 0) {
- play->pauseCtx.state = PAUSE_STATE_8;
+ play->pauseCtx.state = PAUSE_STATE_GAME_OVER_START;
gameOverCtx->state++;
Rumble_Reset();
}