aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-06-20 23:12:11 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-06-20 23:12:11 +0100
commit81fff6679ec6c04714291b10809b2811f546481b (patch)
tree74e8a83a3a47e4129bf44f345a1d9a8017c4cc14 /src
parentb4dd0c8956f1c81836e4f3020efe2f85b3d91902 (diff)
downloadgold-mine-run-81fff6679ec6c04714291b10809b2811f546481b.tar.gz
gold-mine-run-81fff6679ec6c04714291b10809b2811f546481b.zip
Erase the screen before rendering the map
Diffstat (limited to 'src')
-rw-r--r--src/game.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index cdb0c07..b5968ce 100644
--- a/src/game.c
+++ b/src/game.c
@@ -77,6 +77,8 @@ void run_game()
hud = HUD_ALL;
+ blit_erase(0);
+
map_init(binary_stage_start);
map_render();