aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-16 22:21:51 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-16 22:22:10 +0100
commitbf565300d6a71975f120097028bcba7065ea7a4d (patch)
tree570dc8d5ad1c9f0c8d762d02b407c14d6ba3cb2a /src/game.c
parent60d0d1e4d0941b6742af594c9fa3658124d0e29a (diff)
downloadgold-mine-run-bf565300d6a71975f120097028bcba7065ea7a4d.tar.gz
gold-mine-run-bf565300d6a71975f120097028bcba7065ea7a4d.zip
Stage 11
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index c18b9ad..70de080 100644
--- a/src/game.c
+++ b/src/game.c
@@ -53,12 +53,12 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 10
+#define STAGES_LEN 11
static const uint8_t *stages[STAGES_LEN] = {
binary_stage01_start, binary_stage02_start, binary_stage03_start, binary_stage04_start,
binary_stage05_start, binary_stage06_start, binary_stage07_start, binary_stage08_start,
- binary_stage09_start, binary_stage10_start
+ binary_stage09_start, binary_stage10_start, binary_stage11_start
};
static void hud_render()
@@ -317,6 +317,7 @@ next_stage:
tmonster = NULL;
entities_warp_out_all();
sound_play_efx(EFX_WARP);
+ player_stageclear();
stageclear = STAGECLEAR_DELAY;
}