gcompris r3332 - branches/gcomprixogoo/src/babymatch-activity
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3332 - branches/gcomprixogoo/src/babymatch-activity
- Date: Fri, 21 Mar 2008 22:57:44 +0000 (GMT)
Author: bcoudoin
Date: Fri Mar 21 22:57:43 2008
New Revision: 3332
URL: http://svn.gnome.org/viewvc/gcompris?rev=3332&view=rev
Log:
now loop to first level when completed
Modified:
branches/gcomprixogoo/src/babymatch-activity/shapegame.c
Modified: branches/gcomprixogoo/src/babymatch-activity/shapegame.c
==============================================================================
--- branches/gcomprixogoo/src/babymatch-activity/shapegame.c (original)
+++ branches/gcomprixogoo/src/babymatch-activity/shapegame.c Fri Mar 21 22:57:43 2008
@@ -1,8 +1,6 @@
/* gcompris - shapegame.c
*
- * Time-stamp: <2006/08/21 23:35:01 bruno>
- *
- * Copyright (C) 2000 Bruno Coudoin
+ * Copyright (C) 2000,2008 Bruno Coudoin
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -402,9 +400,9 @@
gcomprisBoard->level++;
gcomprisBoard->sublevel=0;
- if(gcomprisBoard->level>gcomprisBoard->maxlevel) { // the current board is finished : bail out
- gc_bonus_end_display(GC_BOARD_FINISHED_RANDOM);
- return FALSE;
+ if(gcomprisBoard->level>gcomprisBoard->maxlevel) { // the current board is finished : restart
+ gcomprisBoard->level = 1;
+ gcomprisBoard->sublevel=0;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]