From 972bae6ba5f4bb7d42f2025d97e0316fb12af098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Mon, 31 Oct 2005 22:12:41 +0100 Subject: Added setup option whether or not all cells are unmarked when the puzzle is reset --- menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'menu.cpp') diff --git a/menu.cpp b/menu.cpp index 2a4e422..0276066 100644 --- a/menu.cpp +++ b/menu.cpp @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: menu.cpp 11 2005-10-28 01:00:01Z tom $ + * $Id: menu.cpp 16 2005-10-31 21:12:41Z tom $ */ #include "menu.h" @@ -155,7 +155,7 @@ eOSState Menu::ProcessKey(eKeys key) if (puzzle.untouched()) puzzle.generate(setup.givens_count, setup.symmetric); else - puzzle.reset(); + puzzle.reset(setup.clear_marks); break; default: return osContinue; -- cgit v1.2.3