diff options
author | Wieland Hoffmann <themineo@gmail.com> | 2011-09-25 15:42:11 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-04-30 12:06:05 +0200 |
commit | 84355f3493a0318c9b5a75d99c8de0991507c4e5 (patch) | |
tree | 913de9b16e9d1221af509fdd93ecc977e17242e1 /apps/plugins/brickmania.c | |
parent | 5f37840e31e2086331bcd862e04682964d606d18 (diff) |
brickmania: Disable resuming after game over
Diffstat (limited to 'apps/plugins/brickmania.c')
-rw-r--r-- | apps/plugins/brickmania.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index d3256f8733..466b194895 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -2407,6 +2407,12 @@ static int brickmania_game_loop(void) } else { + resume = false; + if(resume_file) + { + rb->remove(SAVE_FILE); + resume_file = false; + } #ifdef HAVE_LCD_COLOR rb->lcd_bitmap_transparent(brickmania_gameover, (LCD_WIDTH - INT3(GAMEOVER_WIDTH))/2, |