summaryrefslogtreecommitdiff
path: root/src/code/z_sample.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2022-05-21 14:23:43 -0400
committerGitHub <noreply@github.com>2022-05-21 14:23:43 -0400
commit2e6279bc8e528833704bc6b77635f0eeae6bbe44 (patch)
treed407e4462e1a07b22d11fd84c8013ab182153aaa /src/code/z_sample.c
parent154f44b6da6e0b9be69886ec8d8a5a8ea2f4791e (diff)
PlayState Rename (#1231)
* global context -> play * fix PlayState* PlayState
Diffstat (limited to 'src/code/z_sample.c')
-rw-r--r--src/code/z_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_sample.c b/src/code/z_sample.c
index 2957aea9b..4d0bae9ae 100644
--- a/src/code/z_sample.c
+++ b/src/code/z_sample.c
@@ -2,7 +2,7 @@
void Sample_HandleStateChange(SampleContext* this) {
if (CHECK_BTN_ALL(this->state.input[0].press.button, BTN_START)) {
- SET_NEXT_GAMESTATE(&this->state, Play_Init, GlobalContext);
+ SET_NEXT_GAMESTATE(&this->state, Play_Init, PlayState);
this->state.running = false;
}
}