diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-08-19 09:57:46 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-08-19 09:57:46 +0100 |
commit | f456ef0e5ac9559ba49560cada0e167b37cb396c (patch) | |
tree | 2e383f57c0f5179e2a1c9592b8bfdd092883c3b1 /src | |
parent | e6a6edc9fa6081f5fb17a72788a33e29cb103ae5 (diff) | |
download | gold-mine-run-f456ef0e5ac9559ba49560cada0e167b37cb396c.tar.gz gold-mine-run-f456ef0e5ac9559ba49560cada0e167b37cb396c.zip |
Cosmetic fix when the game is started in the cast screen
Diffstat (limited to 'src')
-rw-r--r-- | src/menu.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -90,6 +90,13 @@ uint8_t run_menu() if (ctl & CTL_FIRE1) { + if (cast) + { + cast = 0; + count = 0; + goto redraw_menu; + } + while (ctl & CTL_FIRE1) { ctl = control_read(); @@ -111,6 +118,7 @@ uint8_t run_menu() /* change of screen, requires drawing */ if (count == 0) { +redraw_menu: blit_target(TARGET_BUFFER); blit_erase(0); |