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 | |
parent | 5f37840e31e2086331bcd862e04682964d606d18 (diff) | |
download | rockbox-84355f3493a0318c9b5a75d99c8de0991507c4e5.tar.gz rockbox-84355f3493a0318c9b5a75d99c8de0991507c4e5.zip |
brickmania: Disable resuming after game over
-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) | |||
2407 | } | 2407 | } |
2408 | else | 2408 | else |
2409 | { | 2409 | { |
2410 | resume = false; | ||
2411 | if(resume_file) | ||
2412 | { | ||
2413 | rb->remove(SAVE_FILE); | ||
2414 | resume_file = false; | ||
2415 | } | ||
2410 | #ifdef HAVE_LCD_COLOR | 2416 | #ifdef HAVE_LCD_COLOR |
2411 | rb->lcd_bitmap_transparent(brickmania_gameover, | 2417 | rb->lcd_bitmap_transparent(brickmania_gameover, |
2412 | (LCD_WIDTH - INT3(GAMEOVER_WIDTH))/2, | 2418 | (LCD_WIDTH - INT3(GAMEOVER_WIDTH))/2, |