[gbrainy/stable] Fixes possible answers shown for easy level in PuzzleMostInCommon
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy/stable] Fixes possible answers shown for easy level in PuzzleMostInCommon
- Date: Sat, 19 Mar 2011 04:48:37 +0000 (UTC)
commit 0ef9a2701b305fce4ce055ba96a1abbc02b188a2
Author: Jordi Mas <jmas softcatala org>
Date: Sat Mar 19 05:49:58 2011 +0100
Fixes possible answers shown for easy level in PuzzleMostInCommon
src/Games/Logic/PuzzleMostInCommon.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/Games/Logic/PuzzleMostInCommon.cs b/src/Games/Logic/PuzzleMostInCommon.cs
index a6b98c2..1a0e6be 100644
--- a/src/Games/Logic/PuzzleMostInCommon.cs
+++ b/src/Games/Logic/PuzzleMostInCommon.cs
@@ -143,8 +143,8 @@ namespace gbrainy.Games.Logic
array.AddRange (new Element [] {Element.SmallCircle, Element.SmallCircle, Element.MediumCircle,
Element.MediumCircle,Element.MediumCircle, Element.MediumCircleWithChild, Element.MediumCircleWithChild});
answers.Add (BuildFigure (array, answers));
- return;
- }
+ } else
+ {
// Medium or Master
@@ -170,6 +170,7 @@ namespace gbrainy.Games.Logic
array.AddRange (new Element [] {Element.MediumCircle, Element.MediumCircleWithChild, Element.MediumCircleWithChild,
Element.MediumCircle,Element.MediumCircle, Element.MediumCircleWithChild, Element.MediumCircleWithChild});
answers.Add (BuildFigure (array, answers));
+ }
double figure_size = 0.22;
double x = DrawAreaX - 0.05, y = DrawAreaY + 0.45;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]