summaryrefslogtreecommitdiff
path: root/src/code/graph.c
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2022-06-23 18:32:48 -0700
committerGitHub <noreply@github.com>2022-06-23 21:32:48 -0400
commit984871eb3892a081d42209a62ca8951cbb64dd31 (patch)
tree15a281ce711687ceb703dd246f5f747a0474d1e6 /src/code/graph.c
parente16779cc338c53b91387a28e3e97cd6f5f036a66 (diff)
Document `SaveContext.gameMode` (#1295)
* Document `SaveContext.gameMode` * end credits * Remove no longer needed comment
Diffstat (limited to 'src/code/graph.c')
-rw-r--r--src/code/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/graph.c b/src/code/graph.c
index 948dc127d..fc41f1a61 100644
--- a/src/code/graph.c
+++ b/src/code/graph.c
@@ -384,7 +384,7 @@ void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState) {
if (gIsCtrlr2Valid && CHECK_BTN_ALL(gameState->input[0].press.button, BTN_Z) &&
CHECK_BTN_ALL(gameState->input[0].cur.button, BTN_L | BTN_R)) {
- gSaveContext.gameMode = 0;
+ gSaveContext.gameMode = GAMEMODE_NORMAL;
SET_NEXT_GAMESTATE(gameState, MapSelect_Init, MapSelectState);
gameState->running = false;
}