diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-07-16 22:01:47 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-07-16 22:02:01 +0100 |
commit | c65f26c530432519b576f8347926a8c94f03ad66 (patch) | |
tree | 9affc6a0f779cd8e07172a3f2708328f459329fd /src/player.c | |
parent | 3b751d86e5250df530cb694c6bbe44829006c013 (diff) | |
download | gold-mine-run-c65f26c530432519b576f8347926a8c94f03ad66.tar.gz gold-mine-run-c65f26c530432519b576f8347926a8c94f03ad66.zip |
Ensure the player is drawn on stageclear
Even if invuln!
Diffstat (limited to 'src/player.c')
-rw-r--r-- | src/player.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c index 15e7c8e..a64f5d0 100644 --- a/src/player.c +++ b/src/player.c @@ -353,3 +353,9 @@ uint16_t player_y() { return y; } + +void player_stageclear() +{ + invuln = 0; + player_draw(); +} |