From 08c1243cf7db0900b8439b4b5eea6037f682bb43 Mon Sep 17 00:00:00 2001 From: girst Date: Tue, 1 May 2018 19:34:49 +0200 Subject: [PATCH] stop timer on 'r', CTRL-R during game --- mines.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mines.c b/mines.c index 84ebf67..c0f6010 100644 --- a/mines.c +++ b/mines.c @@ -173,13 +173,14 @@ int minesviiper(void) { case'\'': /* fallthrough */ case '`': jump_mark(); break; case WRAPPER_EMOTICON: - case 'r': return GAME_NEW; + case 'r': timer_setup(0); return GAME_NEW; case 'q': return GAME_QUIT; case CTRL_'L': screen_setup(1); show_minefield (NORMAL); break; case CTRL_'R': + timer_setup(0); interactive_resize(); return GAME_NEW; case '\\': @@ -209,7 +210,6 @@ int everything_opened (void) { } int wait_mouse_up (int l, int c) { /* TODO: should not take minefield-coords but absolute ones */ - //TODO: make stomp radius visible while mouse is down instead of after mouse up unsigned char mouse2[3]; int level = 1; int l2, c2; -- 2.39.3